Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to get rid of white space at the top of main page

How to get rid of white space at the top of main page

Locked
This thread is locked. New replies are disabled.
22 Jul 2007, 9:08 PM
#1
rollingsphere avatar

rollingsphere

New Zenner

Join Date:
Jun 2006
Location:
texas
Posts:
16
Plugin Contributions:
0

Post #1 by rollingsphere

Ive gone through the define_main_page.php file but i cannot figure out how to fix it where it stops adding a white space/gap at the top of the page, you can see what i mean by visiting my home page here. Any ideas? If this has already been covered before what should i search for?

Thanks!
Jeremy

23 Jul 2007, 5:20 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

If you're not intending to use the category-tabs feature, then simply turn it off in the admin area, and the space it's occupying will go away.
Admin->Configuration->Layout Settings->Categories-Tabs Menu ON/OFF> **Categories-Tabs Menu ON/OFF

Categories-Tabs**
This enables the display of your store's categories as a menu across the top of your header. There are many potential creative uses for this.
0= Hide Categories Tabs
1= Show Categories Tabs
Default: 1

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jul 2007, 5:25 PM
#3
rollingsphere avatar

rollingsphere

New Zenner

Join Date:
Jun 2006
Location:
texas
Posts:
16
Plugin Contributions:
0

Post #3 by rollingsphere

I set it to 0 but the space is still showing, any ideas?

Jeremy

23 Jul 2007, 5:41 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Post #4 by gjh42

The cat tabs space is completely gone.

Any other space you are seeing is padding in #contentMainWrapper, and margin-top in (probably) .leftBoxContainer.