Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2010
    Posts
    21
    Plugin Contributions
    0

    Default Make a fixed footer

    I'm banging my head against the wall trying to figure out how to make a fixed footer that stays on the very bottom of the page. If someone could please help me out it would be much appreciated. Thanks in advance

    Mike

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Make a fixed footer

    Zencart has a fixed footer. A little more info about what you want to do and a link to the site would help.

  3. #3
    Join Date
    Jul 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Make a fixed footer

    Thanks for the quick response. Due to the site not being live yet I can't give you a link but to better understand my problem I attached some photos of my site below.

    On the main webpage of my site the footer(black bottom bar) is flushed to the bottom of the page


    On the shopping cart section the footer in now in the middle of the page.


    I would like the footer to stay flush at the bottom when there is not that much content on the page such as my shopping cart section above. However I want the footer to stay at the bottom of all content when the content dosent fit the page.

    Does this make sense? Please let me know if you want me to explain more.

    Any help on how to achieve this would be great. Thanks

    Mike

  4. #4
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Make a fixed footer

    Add the following to the CSS for mainWrapper

    min-height: xxxpx; where xxx is the minimum pixel height of the page. If it's bigger it'll push the footer down but it won't be any shorter than that size.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Make a fixed footer

    You want the browser height to be constant. The best way, in my opinion, is to have enough content on each page, but there are some ideas here:

    http://www.zen-cart.com/forum/showthread.php?t=104107

 

 

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. How to Make New Window Fixed Height & Width?
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Mar 2011, 10:53 PM
  3. Help With CSS Fixed Footer?
    By scottdev in forum General Questions
    Replies: 2
    Last Post: 23 Jul 2009, 03:36 PM
  4. How to make fixed row height in product listing?
    By chapagain in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jan 2009, 04:44 AM
  5. Is there an easy way to make admin a fixed width
    By Devices in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Feb 2008, 03:20 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