freely151081 Posted February 18, 2016 Share Posted February 18, 2016 Hi, I have problem that I have under one category 7 sub-categories. A there is so big spacing between them it starts second row. Is there way to change number of sub categories from 5 to 7 and reduce spacing between them? Thank you in advance, Ints Link to comment Share on other sites More sharing options...
yaniv14 Posted February 20, 2016 Share Posted February 20, 2016 Check the file: themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css for this: .sf-menu > li > ul > li { float: left; width: 20%; padding-right: 15px; } and update the width to 14% to include 7 in a line. this will effect all sub categories even if you have less than 7. Link to comment Share on other sites More sharing options...
freely151081 Posted February 24, 2016 Author Share Posted February 24, 2016 Not working For time being I added line margin-bottom: 15px; and at least not getting second row too much up. Still have to find solution. Link to comment Share on other sites More sharing options...
yaniv14 Posted February 24, 2016 Share Posted February 24, 2016 Are you sure you edited the correct file (the one inside your theme folder and not the one in root/modules)? Did you clear your browser cache after making changes (ctrl + f5)? It will easier to help you if you post your site url. Link to comment Share on other sites More sharing options...
freely151081 Posted February 24, 2016 Author Share Posted February 24, 2016 (edited) Its www.manaszekes.lv Will try with clearing cache Edited February 24, 2016 by freely151081 (see edit history) Link to comment Share on other sites More sharing options...
yaniv14 Posted February 24, 2016 Share Posted February 24, 2016 I see what you added (margin-bottom) and its look just like I said. Just change the %20 to %14 and clear your cache in BO -> Advanced parameters -> Performance -> Clear cache Also clear your browser cache. This is how it should be: .sf-menu > li > ul > li { float: left; width: 14%; padding-right: 5px; margin-bottom: 15px; } Link to comment Share on other sites More sharing options...
freely151081 Posted February 25, 2016 Author Share Posted February 25, 2016 Working as Charm, thank you very much. Thanks, free 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