Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Where is this padding/whitespace?

Where is this padding/whitespace?

Locked

Views: 861

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
29 Aug 2007, 6:25 PM
#1
warstormer avatar

warstormer

Zen Follower

Join Date:
Aug 2007
Posts:
120
Plugin Contributions:
0

Where is this padding/whitespace?

Hi, this whitespace/padding is driving me crazy....

http://www.undergroundtoys.co.uk/fgstore/

Under where it says text, and above the Featured Products box. I've done the usual search with Developer's Tool Kit but to no avail... Pointers gratefully appreciated....

29 Aug 2007, 6:42 PM
#3
warstormer avatar

warstormer

Zen Follower

Join Date:
Aug 2007
Posts:
120
Plugin Contributions:
0

Re: Where is this padding/whitespace?

CJPinder:

Hi,

I think you are refering to the top margin on the featured products box.
Try adding...

#featuredProducts {margin-top: 0;}

> ...to the end of your stylesheet.
> 
> Regards,
> Christian.

That worked a treat, thanks mate... :smile:    Now the slight space above both Categories and 'Go Look' might be removed the same way?
29 Aug 2007, 6:50 PM
#4
warstormer avatar

warstormer

Zen Follower

Join Date:
Aug 2007
Posts:
120
Plugin Contributions:
0

Re: Where is this padding/whitespace?

In fact I'd like to get rid of all padding/whitespace in the main page....

29 Aug 2007, 7:33 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Where is this padding/whitespace?

.leftBoxContainer, .rightBoxContainer {
	margin: 0em;
	border: 1px solid #9a9a9a;
	border-bottom: 5px solid #336633;
	margin-top: 1.25em; /*this is putting 12.5px space above every sidebox*/
	}
29 Aug 2007, 8:23 PM
#6
warstormer avatar

warstormer

Zen Follower

Join Date:
Aug 2007
Posts:
120
Plugin Contributions:
0

Re: Where is this padding/whitespace?

Thanks Glenn :smile: ..... Any idea about the space above the featured products box?

29 Aug 2007, 8:50 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Where is this padding/whitespace?

Part of that is an empty <h1> which is still taking up some space, and another part is center column padding.

h1#indexDefaultHeading {display: none;} 

.centerColumn {padding-top: 0;}

You may want the padding on other pages; if so, try```
#indexDefault.centerColumn {padding-top: 0;}

29 Aug 2007, 9:08 PM
#8
warstormer avatar

warstormer

Zen Follower

Join Date:
Aug 2007
Posts:
120
Plugin Contributions:
0

Re: Where is this padding/whitespace?

Thanks again mate, you're a lifesaver.... :wink: