Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    red flag Trying to figure out how to change the header on the home page

    I'm trying to change the header to the image that I've attached. My problem is that I don't know how to do this. I've followed the documentation to create new folder for my template change and I assume that the picture I've included for the header would go into either the tpl_header.php or html_header.php.If I'm wrong where does this pic go? Also where and how would it get placed into whatever code it needs to be in, so that it will expand to the width of the browser? Can anyone help with an example? The documentation doesn't seem to explain any of this.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Trying to figure out how to change the header on the home page

    You do not need to edit either of those files to change the header the ability to make an expandable header is already built in.

    Begin by opening your photo editor and saving your image as a gif instead of a jpeg. name it logo.gif

    Then "slice" a 5 pixel wide piece of the right hand side so that you only have a tall noarrow image that has the black borders on the top and bottom. Save that image as headerBG.gif

    Upload the images to templates/YOUR_TEMPLATE/images/ The logo should then work automatically.

    Next open YOUR_TEMPLATE/css/stylesheet.css . Find (or add):

    #logoWrapper{
    background-image: url(../images/headerBG.gif);
    background-repeat: repeat-x;
    background-color: #ffffff;
    height: XXpx; Adjust this height to match your image height
    }

    After editing upload your css to your server.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. v151 How to change the Home navigation header width?
    By jodean in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2015, 07:30 PM
  2. How do I change the name of the home link on my main page.
    By MountainWilliam in forum General Questions
    Replies: 1
    Last Post: 20 Dec 2010, 03:17 AM
  3. First Timer-trying to figure out how to change store name
    By theupcyclestore in forum Customization from the Admin
    Replies: 5
    Last Post: 5 May 2010, 04:45 AM
  4. How to change the 'HOME' link in the top header
    By Jude in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Oct 2007, 08:14 AM
  5. Trying to figure out the sort
    By nomadrw in forum General Questions
    Replies: 3
    Last Post: 13 Sep 2007, 11:10 PM

Posting Permissions

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