Forums / Templates, Stylesheets, Page Layout / White Space below "Home" and Main Body

White Space below "Home" and Main Body

Locked

Views: 2,885

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
8 Sep 2006, 3:40 PM
#1
lonney avatar

lonney

New Zenner

Join Date:
Jan 2006
Posts:
34
Plugin Contributions:
0

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

8 Sep 2006, 4:31 PM
#2
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: White Space below "Home" and Main Body

Maybe try this, make a backup of your stylesheet.

Find in your stylesheet;

P, ADDRESS {
	padding: 0.5em;
	}

Replace with;

ADDRESS {
	padding: 0.5em;
	}
P { margin-top: -1em; padding: 0.5em }
8 Sep 2006, 4:35 PM
#3
drbyte avatar

drbyte

Sensei

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

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:

#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.

8 Sep 2006, 9:33 PM
#4
lonney avatar

lonney

New Zenner

Join Date:
Jan 2006
Posts:
34
Plugin Contributions:
0

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!!

9 Sep 2006, 10:19 AM
#5
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

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. :smile:

10 Sep 2006, 3:54 PM
#6
lonney avatar

lonney

New Zenner

Join Date:
Jan 2006
Posts:
34
Plugin Contributions:
0

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

11 Sep 2006, 4:09 AM
#7
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

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;

.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.

11 Sep 2006, 2:04 PM
#8
dante45chicago avatar

dante45chicago

New Zenner

Join Date:
Sep 2006
Posts:
4
Plugin Contributions:
0

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

12 Sep 2006, 12:15 AM
#9
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: White Space below "Home" and Main Body

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.

12 Sep 2006, 5:50 AM
#10
lonney avatar

lonney

New Zenner

Join Date:
Jan 2006
Posts:
34
Plugin Contributions:
0

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

12 Sep 2006, 6:25 AM
#11
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: White Space below "Home" and Main Body

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?
Thread below may help
http://www.zen-cart.com/forum/showthread.php?t=39829

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

12 Sep 2006, 8:07 AM
#12
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: White Space below "Home" and Main Body

lonney:

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.

Thanks again,

Lonney

Awwww, that sucks! I also don't understand why the steps don't work this time. Is it exactly the same template, before the occurrence happened? I don't get it.

12 Sep 2006, 8:11 AM
#13
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: White Space below "Home" and Main Body

Edit: double post, server re-connection. :(