Forums / Templates, Stylesheets, Page Layout / Reduce spacing between options?

Reduce spacing between options?

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Jun 2006, 19:08
#1
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Reduce spacing between options?

Hi all,

Still tweaking my Zen Cart setup so everything's "just so" and having great success tracking down the correct CSS or admin options to modify things. BUT...

On the main product display page, I'm getting a bit too much space for my liking between the different product options. I've looked at HTML source code, seemingly found all the relevant CSS, but still can't reduce the spacing between each option-and-dropdown-list pair.

Here's how it looks now:

http://tinyurl.com/zhwm5

See what I mean? What am I missing (that's probably staring me in the face)?

Thanks!
Cosmo
11 Jun 2006, 19:29
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Reduce spacing between options?

Look in includes -> templates -> YOUR_TEMPLATE -> templates -> tpl_modules_attributes.php

at approx. line 49 comment out <br class="clearboth" /> and that should take care of the spacing problem.
11 Jun 2006, 19:32
#3
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Reduce spacing between options?

Brilliant! That was it.

Thanks!
11 Jun 2006, 19:37
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Reduce spacing between options?

Glad to help.
11 Jun 2006, 19:40
#5
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
3

Re: Reduce spacing between options?

And, in case you do need the clearboth (elsewhere), but not the space it occupies, you can also try:
.clearBoth {
line-height: 0px;
}