Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default 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
    Code:
    margin-bottom: -1.2em;
    assigned to
    Code:
    a.category-top, A.category-top:link
    but that didn't work at all, it just pushed everything closer together.

    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?

  2. #2
    Join Date
    Sep 2006
    Posts
    532
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default 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. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,965
    Plugin Contributions
    25

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

  5. #5
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default 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 "&nbsp;"?

    Code:
    <li class="category-top"><span class="top-span"><a class="category-top" href="http://mywebsite.com/zencart/index.php?main_page=index&amp;cPath=2">Deuteronomy</a>&nbsp;(2)</span></li>

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,965
    Plugin Contributions
    25

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

 

 

Similar Threads

  1. Category Sidebox Top Cat Links
    By djdavedawson in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Sep 2010, 10:37 PM
  2. Category line spacing for double lines
    By jhbs in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Mar 2009, 09:07 AM
  3. Separator Line in Category Sidebox
    By charmedbytina2 in forum Basic Configuration
    Replies: 4
    Last Post: 21 Aug 2008, 07:08 AM
  4. Custom Category Sidebox....Double Drop Down Causing Error
    By bobbyt in forum Basic Configuration
    Replies: 0
    Last Post: 14 Jun 2007, 05:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •