Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jan 2006
    Posts
    35
    Plugin Contributions
    0

    Default White Space below "Home" and Main Body

    I would like to remove the space below "Home" and the main body of the page. Here is the locaton that this issue can be viewed:
    URL: http://www.nybabydepot.com/index.php

    I have looked though the forums and followed steps provided by other Zen users in regards to this same issue to no resove.

    Here are the steps that I have currently taken:

    Commented that line in my template:
    <h1 id="indexDefaultHeading"></h1>
    /includes/templates/YOURTEMPLATE/templates/tpl_index_default.php

    Any insight would be greatly appreciated,

    Thanks,

    Lonney

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: White Space below "Home" and Main Body

    Maybe try this, make a backup of your stylesheet.

    Find in your stylesheet;

    Code:
    P, ADDRESS {
    	padding: 0.5em;
    	}
    Replace with;

    Code:
    ADDRESS {
    	padding: 0.5em;
    	}
    P { margin-top: -1em; padding: 0.5em }

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: White Space below "Home" and Main Body

    It will also depend on what you need to have happen on other pages too....

    You may need to also play with a combination of these settings to determine which is the safest approach that doesn't adversely affect other parts of your site:
    Code:
    #navBreadCrumb {padding-bottom: 0;}
    .content {padding-top: 0;}
    .centerColumn {padding-top: 0;}
    .

    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.

  4. #4
    Join Date
    Jan 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: White Space below "Home" and Main Body

    I truly believe that Zen people are GREAT!! Yes this worked - thank-you. The Zen community is the BEST!!

  5. #5
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: White Space below "Home" and Main Body

    You're welcome and thank you, that's good to hear it worked out. Which one or which combination worked for you? In case someone else has the same inquiry.

  6. #6
    Join Date
    Jan 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: White Space below "Home" and Main Body

    I was able to resolve this issue with the following change:
    ADDRESS {
    padding: 0.5em;
    }
    P { margin-top: -1em; padding: 0.5em }

    --Thank-you all again!!
    -------------------------

    I do have another directly related question:
    Below the define_main_page.php-there is another "space" that I am having difficulty removing. The space is located above--"New Products For September" and below "define_main_page.php" which has some text that I have written about my store.

    Again, I thank and commend all your efforts,

    Lonney

  7. #7
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: White Space below "Home" and Main Body

    Thanks and you're welcome.

    Okay, I repeated the same method without having any collisions between DIVs. Same as before, backup your stylesheet and find;

    Code:
    .centerBoxHeading {
    	margin: 1em 0em;
            margin-top: -1em;
    	background-color: #CCC;
    	padding: 0.5em 0.2em;
    	font-size: 1.2em;
    	color: #333;
    	border: 1px solid #666666;
    	}
    Add the declaration in red and see how that works for you there and via other pages. I haven't tested this out on a live site, so I'm not sure what consequences it may have for all pages, if any.

  8. #8
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: White Space below "Home" and Main Body

    Hi Lonney,

    I am a new Zenner. How did you get the great looking ZCart design for your website, specifically the left sidebar navigation (I know the top nav is Flash)? Is it a 3rd Party Template? If so where can I find such a look?

    Also, if there are 3rd party template designs available for Zen-Cart can someone direct me to where I can find them online in the forums or on the web?

    Thanks,

    Dante

  9. #9
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: White Space below "Home" and Main Body

    Quote Originally Posted by dante45chicago

    Also, if there are 3rd party template designs available for Zen-Cart can someone direct me to where I can find them online in the forums or on the web?
    There is a thread in 'Contributed Templates', where you can see free templates in action;

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

    Also, there are different shades and other goodies available through 'downloads' on the top of the main forum menu.

  10. #10
    Join Date
    Jan 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: White Space below "Home" and Main Body

    You are likely not going to believe this....My site was hacked..I had to delete entire site from server and reload. Fortunatly, I really did not have a whole lot done. I was able to remove the space under "Home" and above "New Products For September" with the help of Sketchy. I followed the exact same steps as prior with different results. I am not able to remove the white space for some reason. I honestly have repeated the same steps...read through multiple other posts and have not been able to resolve this issue. I would appreciate any direction.

    ->In response to dante45chicago-->http://www.zenwebs.com/

    Thanks again,

    Lonney

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding content to main page above and below "Featured" products???
    By aly22 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 12 Sep 2010, 07:52 PM
  2. Removing white space between "Welcome to MYSTORE" and New Products Title
    By chal2les in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Mar 2010, 07:00 PM
  3. Empty space - below logo and below Home & Log in links - how to delete?
    By dabone in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jan 2009, 01:18 AM
  4. Too much white space in "Listing" page
    By bluealice in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Oct 2007, 04:27 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