Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Missing Category Divider Line

Missing Category Divider Line

Views: 941

Results 1 to 5 of 5
18 Nov 2012, 5:05 AM
#1
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Missing Category Divider Line

I would like a category divider line in between my main categories (in my left hand category box). I do have the Category Dressing module installed. I even read this post: http://www.zen-cart.com/showthread.php?68955-category-divider-line Even after reading different posts and instructions for Category Dressing I cannot get the category lines to display in between the master categories.

I just don't know why they will not show. In my stylesheet.css I already have this rule:

HR {height: 1px;margin-top: 0.5em;border: none;border-bottom: 1px solid #9a9a9a;}

You can see a live example here: http://www.lasilhouettelingerie.com/store/shop-by-color-c-189/

Last in my includes/templates/MYTEMPLATE/sideboxes/tplcategories.php I have this code starting at line #87

// display a separator between categories and links
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
      $content .= '<hr id="catBoxDivider" />' . "\n";
    }
    $content .= '<ul class="catLinks">' . "\n";

It seems like I have everything in place but it will not display.

18 Nov 2012, 6:09 AM
#3
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Missing Category Divider Line

Yeah I was thinking of putting it there, but I assumed this was a regular stylesheet override causing the issue. This is what happens when spend all day in front of the computer. I agree, and will check those threads for the answer :)

18 Nov 2012, 1:33 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Missing Category Divider Line

The thread you posted refers to the very early versions of Categories Dressing; it no longer works anything like that, so the thread is obsolete. You define a heading for each category where you want a divider above it, as the readme explains. For any more help on this, ask in the support thread.

18 Nov 2012, 4:51 PM
#5
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Missing Category Divider Line

I finally got it. Helps to get some sleep sometimes. Thank you!