Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Location
    Laie, Hawaii - Provo, Utah
    Posts
    27
    Plugin Contributions
    0

    Default Background images for header, body, and footer...

    I'm trying to use my Photoshop design for a Zen cart that I have. I want to edit the whole header, the mainwrapper (I think that's where the body of the website is), and the whole footer. When put together, it makes one big design. Anyone know where to point me to editing those sections?

  2. #2
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Background images for header, body, and footer...

    You can change the header background image in your css file (look for #logoWrapper).

    You can edit the footer as per
    https://www.zen-cart.com/tutorials/i...hp?article=234

    You will find most of your answers in the tutorial section.
    https://www.zen-cart.com/tutorials/index.php is your friend. :)

    Vito

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Background images for header, body, and footer...

    #mainWrapper is the entire area of the page not counting blank/background space around it, if any.
    #contentMainWrapper is the area between the header and the footer.

    Assuming your page will be a fixed width and your header and footer will be fixed heights, cut your Photoshop image into sections that fit the header and footer, and apply them as background-images to #headerWrapper and #mainWrapper respectively. (The footer area is made up of two or three separate elements, and using the bottom of #mainWrapper may be easiest.)

    The remaining center part of the design will be the background-image for
    #contentMainWrapper. This part will have to be able to repeat vertically to fit any height of page content.
    Code:
    #headerWrapper {background-image: url(../images/topbg.gif); background-position: top center; background-repeat: no-repeat;} 
    
    #mainWrapper {background-image: url(../images/bottombg.gif); background-position: bottom center; background-repeat: no-repeat;} 
    
    #contentMainWrapper {background-image: url(../images/middlebg.gif); background-position: top center; background-repeat: repeat-y;}
    There are other possible ways of organizing this as well, and some may be better for certain designs.

  4. #4
    Join Date
    Oct 2008
    Location
    Laie, Hawaii - Provo, Utah
    Posts
    27
    Plugin Contributions
    0

    Default Re: Background images for header, body, and footer...

    Right on to the both of you for all that info. I have my hands full tomorrow but I'll let you guys know how it goes. This is the best forum EVER.. EVA... EVAH... EVAAAAAH!!! LOL

 

 

Similar Threads

  1. v151 Header and Footer 100% Widened left to Right, Body Fixed
    By sle39lvr in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Apr 2014, 03:05 AM
  2. v150 Replace side box header image and background of box and add footer
    By clint6998 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Nov 2012, 11:55 PM
  3. header and footer background problem
    By gaza1234 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Jul 2010, 03:17 AM
  4. iFrame for the body and header reloading
    By andy1234 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Apr 2008, 01:07 AM

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