Forums / Templates, Stylesheets, Page Layout / Category Sidebox Links Single Line not Double

Category Sidebox Links Single Line not Double

Views: 710

Results 1 to 6 of 6
4 Sep 2011, 5:06 AM
#1
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Category Sidebox Links Single Line not Double

Hi,

Trying to make the Category links in the sidebox single, not double. Searched this forum, can't find the exact solution. I tried one person's solution of having [B]margin-bottom: -1.2em;[/B] assigned to ```
[B]a.category-top, A.category-top:link[/B]


Currently I have this:

This is link A
(2)

This is link B
(5)

And I want:

This is link A (2)

This is link B (5)

Where do I fix this issue exactly?
4 Sep 2011, 7:17 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

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

Re: Category Sidebox Links Single Line not Double

you need to increase the width of your column this can be done in admin configuration and then layout boxes


Play with it long enough and you will break it.
4 Sep 2011, 2:13 PM
#3
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Category Sidebox Links Single Line not Double

Sorry but that's not it. They are 200 px wide and some links are like 3 letters long, which obviously shouldn't bump the # down to the next line. There must be a <br> that makes this happen, no?

4 Sep 2011, 4:18 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Category Sidebox Links Single Line not Double

There isn't in stock Zen Cart. Your template could be changing that, though. We need to see it live to have a better idea of what is really happening.

6 Sep 2011, 1:42 PM
#5
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: Category Sidebox Links Single Line not Double

Here's an example of one of the links that goes to two lines. If I know where to edit it, I can play with it and probably fix it. Is it the " "?

<li class="category-top"><span class="top-span"><a class="category-top" href="http://mywebsite.com/zencart/index.php?main_page=index&cPath=2">Deuteronomy</a> (2)</span></li>
6 Sep 2011, 2:54 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Category Sidebox Links Single Line not Double

There is nothing in the HTML output that would inherently cause a line break there. If the links were styled as display: block; they would take the whole column width and force the following (2) to the next line. Again, we need to see this live to be sure of what is happening.