Announcement

Collapse
No announcement yet.

Customize a notice

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Customize a notice

    I'm trying to add an image to a notice, but having difficulty placing the image in the top right corner.

    #2
    Are you trying to add an icon in the top right corner just like I did on my guest notice here where there is a blue pin icon in the top right corner?
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      That's exactly it. I have a small image I want to place in the same corner but it never looks right.

      Comment


        #4
        This is what I did here:
        Code:
        #notices .notice {
            position: relative;
        }
        #notices .notice:before {
            content: '';
            background: transparent url('path/to/the/image.png') no-repeat;
            width: 22px;
            height: 22px;    
            right: -5px;
            top: -7px;
            display: inline-block;
            position: absolute;
        }
        Update the background image path, dimensions and right/top coordinates accordingly.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5
          That looks perfect Glenn. Coffee on me!

          Comment


            #6
            Question does this go in the notice itself.or on a template I would.love to implement this myself

            Comment


              #7
              Add the CSS code in css_additional template in AdminCP or in Sitebuilder > Style > CSS Editor for each active theme you are using.
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #8
                And how do I call it in the notice like I do with the pulsing signup button html

                Comment


                  #9
                  The CSS will be applied to all the notices. You don't have to call it.
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #10
                    Ahh thanks Glen

                    Comment

                    Users Viewing This Page

                    Collapse

                    There is 1 user viewing this forum topic.

                    • Guest Guest

                    Latest Posts

                    Collapse

                    Working...
                    X
                    Searching...Please wait.
                    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                    Please push the back button and reload the previous window.'
                    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                    Please push the back button and reload the previous window.'
                    An internal error has occurred and the module cannot be displayed.
                    There are no results that meet this criteria.
                    Search Result for "|||"