Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    How can I make my background image extend above the header?

    Hello zencart people! My shop is almost fit to go live, but one final tweak would make it perfect.

    I would like my background image to extend mabe 10 px or so above the header - or my header to drop down 10 px or so beneath it, whichever way you look at it
    There would then be a border of background image at the top of the page, like the one already existing below the footer.

    my site is here:http://liquorice-allosaurs.com/Zencart

    I'm running Zencart 1.3.5 with the excellent (modified) Future Zen template

    I hope someone is kind enough to help me out; I'm no coder but with this forums help I've had a good go at customising everything else - however this has really stumped me. Thank you lovely people in advance

    Cheers! Pat

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: How can I make my background image extend above the header?

    try this and see if does what you want.

    in your stylesheet.css add the following:

    Code:
    #headerWrapper {padding-top: 10px;}
    
    #headerWrapper {padding-bottom: 10px;}
    You'll only need one of the above lines for your purpose.

  3. #3
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    Default Re: How can I make my background image extend above the header?

    Thanks for your reply! I tried this, but what happened was the main wrapper appeared above the logo instead - a pale pink colour. I have a feeling that whatever would help might not in the css after all, but as I dont really 'get' how the coding works I'm at a bit of a loss...

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

    Default Re: How can I make my background image extend above the header?

    In the BODY section of your style sheet, add:


    margin-top: 10px;

  5. #5
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    Default Re: How can I make my background image extend above the header?

    Aha! Thank you so much for that! I tweaked the other margins for good measure now that I know what bit to play with. I'm chuffed to bits, it looks so much better!

    Cheers!!!


 

 

Similar Threads

  1. Space above the header background
    By hyperjase in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Sep 2010, 12:53 PM
  2. How to add a background image to the header?
    By Twaddle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jan 2010, 01:10 PM
  3. How can I insert image above the name of the manufacturer?
    By Drika in forum Customization from the Admin
    Replies: 0
    Last Post: 19 Nov 2008, 02:30 PM
  4. how do I make the whole header background image a link?
    By keelyerin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Aug 2008, 12:32 AM
  5. How to reduce height of bar above header background image?
    By TimUK in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Apr 2007, 02:01 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