Martino00 Posted December 2, 2014 Share Posted December 2, 2014 Hello everyone. Is the depth of the subcategory limited? I'm Using 1.6 and in the config of the category block i checked the max depth is set to 0. I'm displaying my categorys in the left column. But all my subcategorys with depth 4 or more are displayed below depth 3. In the database the categorys are saved with the correct depth number. Link to comment Share on other sites More sharing options...
PascalVG Posted December 3, 2014 Share Posted December 3, 2014 It is limited by the css code that is defined for it. They only added it for three levels. To add yourself, edit file: /themes/default-bootstrap/css/modules/blockcategories/blockcategories.css (Backup!) Then add to the end, something like: #categories_block_left li li li a:before { content: "\f105\f105"; // sign(s) used for 'bullet' font-family: "FontAwesome"; line-height: 29px; color: lightgreen; // color of 'bullet' padding-right: 12px; // Indent for text of that level } #categories_block_left li li li li a:before { content: "\f105\f105\f105"; font-family: "FontAwesome"; line-height: 29px; color: orange; padding-right: 16px; } As you can see, I added an extra 'li' level in the code, to define a separate bullet/color for the next level (and I added 'li li' for the level below that level) Result: You can make more levels, by just adding a new 'li' after the red ones I added I chose the same '>' as sign (code \f105) as the current last level, and just repeated it two/three times, but you can choose other 'bullets' from for example here: http://astronautweb.co/snippet/font-awesome/ Hope this helps, pascal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now