+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Premium Customer Gleedo is on a distinguished road Gleedo's Avatar
    Join Date
    Jul 2010
    Posts
    14
    Rep Power
    0

    Icon5 How to change header to use 3 images?

    Hello

    I am trying to change the header of future black to have 3 parts, but I am struggling with what changes to make.

    Firstly I have created a new skin using FutureBlack as the parent and have called it TOGABlackFluid.

    I have changed the header-back.png for the one I will be using and that tiles across the top ok.

    I have also uploaded my left side and right side images for the rest of the header, but I have no idea how to find the 'bluepearl-design-logo.png' in the style vars and change it to my left.png image for this new style. I can't just replace that logo file because i have fixed width versions of FutureBlack (also child styles) which use that image as the whole header.

    I also need to work out how to add style info for the right.png and get that in the header.

    Here is my forum at the moment with the fluid skin im working on:
    http://www.theoldgitsarmy.com/forums...php?styleid=15

    Here are the 3 graphics I am trying to use for the header:
    left.png
    Click image for larger version

Name:	left.png
Views:	10
Size:	195.5 KB
ID:	2697

    header-back.png
    Click image for larger version

Name:	header-back.png
Views:	10
Size:	124.2 KB
ID:	2699

    right.png
    Click image for larger version

Name:	right.png
Views:	9
Size:	121.0 KB
ID:	2698

  2. #2
    Premium Customer Gleedo is on a distinguished road Gleedo's Avatar
    Join Date
    Jul 2010
    Posts
    14
    Rep Power
    0

    Re: How to change header to use 3 images?

    Have made some progess by getting the left.png to appear after reading this post :)

    Just need to work out how to get the right.png to appear on right of header....

    Any help on that very much appreciated :)

  3. #3
    Founder/Admin Sean will become famous soon enough Sean's Avatar
    Join Date
    Jan 2004
    Location
    Sydney, Australia
    Age
    30
    Posts
    11,075
    Blog Entries
    5
    Rep Power
    10

    Re: How to change header to use 3 images?

    Sorry for the late response. To change the logo you change the stylevar 'titleimage'

    Now for a 3 part header the best way would be to change the header code to something similar to this.

    HTML Code:
    <div id="header">
     <div id="headleft"></div>
     <div id="headright"></div>
    </div>
    And the CSS:

    HTML Code:
    #header {
    width: 100%;
    }
    
    #headleft {
    float: left;
    }
    
    #headright {
    float: right;
    }
    You can then modify the CSS to add background images

  4. #4
    Premium Customer Gleedo is on a distinguished road Gleedo's Avatar
    Join Date
    Jul 2010
    Posts
    14
    Rep Power
    0

    Re: How to change header to use 3 images?

    Thanks for reply. I dont really understand where to put such code but I have almost managed what I intended, but when you shrink the browser width down, the right image then moves below the rest of the header....

    http://www.theoldgitsarmy.com/forums...php?styleid=15

    Here is my code from header in edittemplates - headright div is the bit i added:
    Code:
    <div id="header" class="floatcontainer doc_header">
        <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>
    <div class="headright" style="float: right"><img src="http://www.theoldgitsarmy.com/forums/images/FutureBlack/fluid/right.png" /></div>
    Any thoughts?

  5. #5
    Founder/Admin Sean will become famous soon enough Sean's Avatar
    Join Date
    Jan 2004
    Location
    Sydney, Australia
    Age
    30
    Posts
    11,075
    Blog Entries
    5
    Rep Power
    10

    Re: How to change header to use 3 images?

    In stylevars what is this currently set to?

    doc_minwidth

  6. #6
    Premium Customer Gleedo is on a distinguished road Gleedo's Avatar
    Join Date
    Jul 2010
    Posts
    14
    Rep Power
    0

    Re: How to change header to use 3 images?

    Quote Originally Posted by Sean View Post
    In stylevars what is this currently set to?

    doc_minwidth
    Aha!! Thank you. Was 650 but have now upped it and it works fine.

    Thanks Sean :)

  7. #7
    Founder/Admin Sean will become famous soon enough Sean's Avatar
    Join Date
    Jan 2004
    Location
    Sydney, Australia
    Age
    30
    Posts
    11,075
    Blog Entries
    5
    Rep Power
    10

    Re: How to change header to use 3 images?

    Was hoping that would do the trick ;)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. two new images
    By Surface Warrior in forum Graphics
    Replies: 3
    Last Post: 09-08-2008, 09:11 AM
  2. Border Images
    By Asi9ine in forum Need Help?
    Replies: 2
    Last Post: 04-19-2006, 03:08 AM
  3. More Sig Images
    By Magnus in forum Signatures
    Replies: 7
    Last Post: 03-08-2004, 10:07 AM
  4. Some old images i came across.
    By Sean in forum Graphics
    Replies: 6
    Last Post: 01-19-2004, 12:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts