Delphy Posted May 8, 2014 Share Posted May 8, 2014 Hello. I am trying to customize the horizontal menu in order to display only the two first levels for the categories (I mean, the category name in the menu bar and only the sub-category name in the submenu, not the sub-sub-categories and below.) Can I just configure it somewhere? Or I think it should be possible to do it in the superfish_modifies.css, somewhere (.sf-menu > li > ul > li > ... ???) but I can not figure out how to do it. Or should I modify the tlp? Thank you for your help. PS: I am working with version 1.6 and default theme, which by the way, are very nice Link to comment Share on other sites More sharing options...
danr87 Posted May 13, 2014 Share Posted May 13, 2014 li.sfHover ul li ul li { display:none; } this worked for me, I can see only the subcategories, but not its sub-sub categories Link to comment Share on other sites More sharing options...
Delphy Posted May 19, 2014 Author Share Posted May 19, 2014 (edited) Hi danr87, Thank you for your reply. I added the lines in the file 'superfish_modifies.css'. Indeed the sub-sub categories didn't display, but there was an empty place instead. (I use v1.6 default theme: the sub-categories are displayed horizontaly and the sub-sub categories are displayed just below the sub-category) So, i removed the line 107 (display: block !important; ) To resume: in file superfish_modifies.css Put into comments the Line 107 .sf-menu li li ul { /* display: block !important; */ …} Add following lines: li.sfHover ul li ul li { display:none; } And it works for me. Edited May 19, 2014 by Delphy (see edit history) 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