Header Background vB5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcgraybeal
    New Member
    • Sep 2012
    • 2

    Header Background vB5

    How do I change the header background color?
  • Super Cat
    Senior Member
    • Jan 2005
    • 1299
    • 4.2.X

    #2
    It is a bug. It will be fixed in next version.

    - - - Updated - - -

    if you want to change template yourself, here is fix.
    I can confirm header_bg_color is not working. In css_global.css, this:
    #header { background:{vb:stylevar body_bg_color};

    Should be:

    #header { background:{vb:stylevar header_bg_color};

    Comment

    • jcgraybeal
      New Member
      • Sep 2012
      • 2

      #3
      Where is the css_global.css file located?

      Thanks

      Comment

      • Super Cat
        Senior Member
        • Jan 2005
        • 1299
        • 4.2.X

        #4
        Originally posted by jcgraybeal
        Where is the css_global.css file located?

        Thanks
        Style Manager/Edit Templates/CSS Templates

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73981

          #5
          Better to override it using css_additional.css instead of editing the css_global.css template.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • Acerath
            New Member
            • Aug 2005
            • 25
            • 4.2.X

            #6
            Hi, I tried this and it works in FF but not IE9, please confirm.

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73981

              #7
              Shouldn't be browser specific. Clear your cache.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • Acerath
                New Member
                • Aug 2005
                • 25
                • 4.2.X

                #8
                Ok, just PMed you on the link. Pls take a look.

                Tried Ctrl F5 and also clear browser history, etc 100% but the same.

                Comment

                • Trevor Hannant
                  vBulletin Support
                  • Aug 2002
                  • 24326
                  • 5.7.X

                  #9
                  What exactly did you add to css_additional.css?
                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment

                  • Acerath
                    New Member
                    • Aug 2005
                    • 25
                    • 4.2.X

                    #10
                    I followed the post, above, is this correct?

                    #header { background:{vb:stylevar header_bg_color};
                    After that, FF was ok. But not IE9.

                    Comment

                    • Trevor Hannant
                      vBulletin Support
                      • Aug 2002
                      • 24326
                      • 5.7.X

                      #11
                      Have you made sure that whole class has been closed OK with a }?
                      Vote for:

                      - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                      - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                      Comment

                      • Acerath
                        New Member
                        • Aug 2005
                        • 25
                        • 4.2.X

                        #12
                        Ok, I added the curly brackets at the end, so it is now:

                        #header {background:{vb:stylevar header_bg_color};}
                        But it still doesn't work. I even used "white" to replace the vb tags above. It does not seem to respond to this method.

                        Last tried to add the
                        !important
                        , this resilient IE9, still does not give in.

                        This is my full css in css_additional.css.

                        #header {background:{vb:stylevar header_bg_color} !important;}

                        #header {background:white;}

                        #wrapper {
                        max-width:960px;
                        }

                        #footer-copyright{
                        max-width:960px;
                        }

                        #main-navbar {
                        max-width:960px;
                        }

                        #header .site-logo {
                        padding: 0px 10px 0px;
                        background:white;
                        min-width:90px;
                        max-width:320px;
                        position:relative;
                        text-align:{vb:stylevar left};
                        }
                        btw, I tried to send you a PM for my admin area password, but you don't seem to have that switched on.

                        Comment

                        • Wayne Luke
                          vBulletin Technical Support Lead
                          • Aug 2000
                          • 73981

                          #13
                          ON your site, I see a white background in Chrome, Firefox, IE10, IE10 in IE9 mode, etc...
                          Translations provided by Google.

                          Wayne Luke
                          The Rabid Badger - a vBulletin Cloud demonstration site.
                          vBulletin 5 API

                          Comment

                          • Acerath
                            New Member
                            • Aug 2005
                            • 25
                            • 4.2.X

                            #14
                            Are you looking at the header? It doesn't look the same for me. I tried to clear the background today again.

                            Comment

                            • Trevor Hannant
                              vBulletin Support
                              • Aug 2002
                              • 24326
                              • 5.7.X

                              #15
                              Can you try adding the following into the header class in your css_additional.css template:

                              background-image: none;
                              Vote for:

                              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                              Comment

                              Related Topics

                              Collapse

                              Working...