Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Removing line breaks from sidebar?

    Guys, the tutorials and this forum have been super helpful in my first venture into Zen Cart and I believe I'm down to my final bug for the fish store.

    How do I remove the line breaks between the categories? I modified the tpl_categories.php and was able to remove them from the information links, but not the categories. Any ideas? Also on a sort of related note, stupid IE isn't displaying the sidebar properly. The links are showing up red & blue instead of black with a black border.
    Last edited by khanse44; 12 Feb 2010 at 12:13 AM.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Removing line breaks from sidebar?

    It's the display:block; in #sideboxContent a that's doing that.

    If you want to have all the boxes the same width, the easiest way I've found is to install this mod: http://www.zen-cart.com/index.php?ma...oducts_id=1307 and style it as a list.

  3. #3
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Removing line breaks from sidebar?

    Great, thanks!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Removing line breaks from sidebar?

    Just be aware that that mod makes one continuous <ul> list, regardless of subcategory depth, so you will be unable to style sub-subcats differently if you want to. It won't generate an HTML error, but it is semantically incorrect if you have any subcategories.

  5. #5
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Removing line breaks from sidebar?

    Yea, I know, but the person I'm helping with the site doesn't want subcategories to show at all in the sidebar so that shouldn't be a problem.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Removing line breaks from sidebar?

    Right you are, for your site:)

 

 

Similar Threads

  1. v151 Adding extra line-breaks to emails that are sent from admin
    By devyani in forum General Questions
    Replies: 0
    Last Post: 22 Jul 2014, 10:42 AM
  2. v151 Removing product title from breadcrumbs: Last category link breaks!
    By Feznizzle in forum General Questions
    Replies: 3
    Last Post: 19 Jun 2013, 04:49 PM
  3. v150 removing excess line breaks from advshipper.php file?
    By irish_1985 in forum Addon Shipping Modules
    Replies: 6
    Last Post: 25 Oct 2012, 11:23 PM
  4. Removing sidebar from one page
    By marypotter in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2012, 11:03 PM
  5. Removing Prices from Sidebar
    By bailiegirl in forum General Questions
    Replies: 7
    Last Post: 30 Jan 2009, 07:01 PM

Posting Permissions

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