Adding a Photo in the header's Background... how?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PBPR
    Senior Member
    • May 2009
    • 214
    • 4.0.x

    [Forum] Adding a Photo in the header's Background... how?

    Hello,

    I would like to add a photo in the header's background but can't figure out how or where... any help would do.

    Click image for larger version

Name:	header.jpg
Views:	1
Size:	37.4 KB
ID:	3719195
    Vbulletin Rocks!!!
    What you do in life, echoes in eternity
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    If you just want to add a small image there, you can either edit the header template to add it, or put it in the Ad Manager (I am pretty sure that is one of the locations).

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • PBPR
      Senior Member
      • May 2009
      • 214
      • 4.0.x

      #3
      I just want to put a photo as background in the header... What's the name of the template so I can edit?
      Vbulletin Rocks!!!
      What you do in life, echoes in eternity

      Comment

      • PBPR
        Senior Member
        • May 2009
        • 214
        • 4.0.x

        #4
        If there is anyone else that knows how to place a photo as background in the header I would appreciate it a lot...
        Vbulletin Rocks!!!
        What you do in life, echoes in eternity

        Comment

        • PBPR
          Senior Member
          • May 2009
          • 214
          • 4.0.x

          #5
          Could this really be done?... everytime I ask it happens the same thing.. no body helps me!!!...
          Vbulletin Rocks!!!
          What you do in life, echoes in eternity

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            For the whole header background? You can just use the stylevar header_background to add an image if that is what you want.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools <- awesome site for html/css help

            Comment

            • PBPR
              Senior Member
              • May 2009
              • 214
              • 4.0.x

              #7
              Originally posted by Lynne
              For the whole header background? You can just use the stylevar header_background to add an image if that is what you want.
              No, it doesn't work like that... it used to but not in version 4.0.8

              If I change the header_background in stylebar it changes the user profile buttons too with the same setting... it's so wierd but that's what it does. I've done it.
              Vbulletin Rocks!!!
              What you do in life, echoes in eternity

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                Have you tried just adding a background to the class via the additional.css template?
                HTML Code:
                .above_body {url("images/your-image.png") repeat-x scroll 0 0 white; }

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools <- awesome site for html/css help

                Comment

                • PBPR
                  Senior Member
                  • May 2009
                  • 214
                  • 4.0.x

                  #9
                  No... haven't done that...

                  I will try!
                  Vbulletin Rocks!!!
                  What you do in life, echoes in eternity

                  Comment

                  • PBPR
                    Senior Member
                    • May 2009
                    • 214
                    • 4.0.x

                    #10
                    I just did it and nothing!....
                    Vbulletin Rocks!!!
                    What you do in life, echoes in eternity

                    Comment

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

                      #11
                      Can you give us a link to your site please
                      Vote for:

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

                      Comment

                      • PBPR
                        Senior Member
                        • May 2009
                        • 214
                        • 4.0.x

                        #12
                        Originally posted by Trevor Hannant
                        Can you give us a link to your site please
                        Yes, its... http://www.portadafotografica.com
                        Vbulletin Rocks!!!
                        What you do in life, echoes in eternity

                        Comment

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

                          #13
                          In the 'header_background' StyleVar, I see url("images/gradients/gradient-grey-down.png") being set in the background field. I'm assuming that's not the path to the image you're using?
                          Vote for:

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

                          Comment

                          • PBPR
                            Senior Member
                            • May 2009
                            • 214
                            • 4.0.x

                            #14
                            Originally posted by Trevor Hannant
                            In the 'header_background' StyleVar, I see url("images/gradients/gradient-grey-down.png") being set in the background field. I'm assuming that's not the path to the image you're using?
                            No that's not the image.... I just change the image and look what happens when I do that.

                            Click image for larger version

Name:	Screen shot 2010-11-29 at 10.19.24 AM.png
Views:	1
Size:	17.5 KB
ID:	3680813

                            Any changes I do to the header_background in stylevar takes effect in the user profile buttons... awkward!!!

                            I fixed this by going to my profile and customized the Button Background to the following - url(images/gradients/gradient-grey-down.png). The problem is that only changes My Profile... not the rest of the user's profiles. Maybe if I can chage everybody's profile it would fix it.
                            Last edited by PBPR; Mon 29 Nov '10, 6:33am.
                            Vbulletin Rocks!!!
                            What you do in life, echoes in eternity

                            Comment

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

                              #15
                              Regarding your header, take out the colour value (#2C2D2D) or set the colour to transparent and you will see your image in the background.

                              Regarding the profiles, this is a bug in 4.0.8. To set these for a default profile for all users, please see this article:

                              http://www.vbulletin.com/forum/conte...-Profile-Style.
                              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...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎