Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Location
    texas
    Posts
    16
    Plugin Contributions
    0

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

    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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    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.

  3. #3
    Join Date
    Jun 2006
    Location
    texas
    Posts
    16
    Plugin Contributions
    0

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

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

    Jeremy

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

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

    The cat tabs space is completely gone.

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

 

 

Similar Threads

  1. How do i get rid of the login link top of page?
    By humbll in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Sep 2009, 02:27 AM
  2. Get rid of white space between header and top menu
    By lagvoid in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Feb 2008, 01:20 AM
  3. How to get rid of / hide the price on the main page only?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Nov 2007, 03:33 AM
  4. White Space....I Know Another White Space Issue...Cant Get Rid Of It
    By enchantedlingerie in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 18 Apr 2007, 03:05 PM
  5. White space at top of main page (define_main_page.php)
    By alexzout in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2006, 07:35 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