Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adjusting page height

Adjusting page height

Locked

Views: 698

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Nov 2010, 12:57 AM
#1
deblegg avatar

deblegg

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Adjusting page height

I've looked and looked, but can't find the answer.

How do I/Can I set a minimum height for my pages?
When there's nothing in the cart, or there's little text on the page the footer is just kinda hanging there mid page.

When there's stuff on the page it's normal -
http://www.dedanotions.com/shop/index.php?main_page

But this is what happens when it's empty -
http://www.dedanotions.com/shop/index.php?main_page=shopping_cart

Your help is much appreciated.

6 Nov 2010, 1:03 AM
#2
deblegg avatar

deblegg

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: Adjusting page height

I found it!

.centerColumn {min-height:500px}

7 Nov 2010, 6:08 PM
#3
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,016
Plugin Contributions:
2

Re: Adjusting page height

Another way is to have your footer always at the bottom of the screen unless content pushes it lower.

http://www.pmob.co.uk/temp/3colfixedtest_4.htm