Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding divs outside main container.

Adding divs outside main container.

Locked

Views: 1,623

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Dec 2007, 10:44 PM
#1
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

Adding divs outside main container.

I have a need to put about 200 px of white space beyond the end of the main container, but I am not sure where to do it.

Can anyone please give me a hint as to which file I should be editing so that the white space is added to every single page that is rendered.

I am about one week away from being able to go live. Very excited.

Cheers,

DAVE

:)

12 Dec 2007, 11:32 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding divs outside main container.

Which "end" do you need to add whitespace on? Does it just need to be spacing, or does it have contents/color/border/anything?

If you don't want content for this area, you can just add margin to #mainWrapper {} or padding to body {}.

12 Dec 2007, 11:34 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Adding divs outside main container.

Could be done by adding margin or padding to the bottom of #mainWrapper. Or if you need to add a div, add it to tpl_main_page.php

13 Dec 2007, 12:05 AM
#4
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

Re: Adding divs outside main container.

Well Duh, don't I just feel a little thick right now.:oops:

You are both of course right.

I only need white space, there is no need for "Extra Content" at the moment. There is a small bug with an addon that I have installed when I view the website with IE7.0 and some extra space at the bottom of the page will fix the bug until IE gets itself together or the addon gets a revision with a fix.

Thanks all.

DAVE

:D