redphones Posted August 25, 2015 Share Posted August 25, 2015 Hello everyone, i have a problem with the listing of my subcategories under the category bar on the top. subcategories are now list: -sub1 -sub2 -sub3 -sub4 but i want to be displayed as: -sub1 -sub2 -sub3 -sub4 how i can do that ?? sorry im a noob in PS and also in english. Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 you use default template? Link to comment Share on other sites More sharing options...
redphones Posted August 25, 2015 Author Share Posted August 25, 2015 you use default template? yes Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 add clear:both to: .sf-menu > li > ul > li { float: left; width: 20%; padding-right: 15px; clear: both; } you can find it in superfish-modified.css file located in: themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css Link to comment Share on other sites More sharing options...
redphones Posted August 25, 2015 Author Share Posted August 25, 2015 .sf-menu > li > ul > li { float: left; width: 20%; padding-right: 15px; } @media (max-width: 767px) { .sf-menu > li > ul > li { width: 50%; } } @media (max-width: 479px) { .sf-menu > li > ul > li { width: 100%; padding-bottom: 20px; } } @media (min-width: 768px) { .sf-menu > li > ul > li.first-in-line-lg { clear: left; } } @media (min-width: 480px) and (max-width: 767px) { .sf-menu > li > ul > li.first-in-line-xs { clear: both; } } ive modified this but dont seems to be working... the subcategories are still the same Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 clear browser cache there is a chance that your browser uses cached version of the file you modified. also, if you use CCC for CSS files (preferences > performance) you will have to clear shop cache too: Link to comment Share on other sites More sharing options...
redphones Posted August 25, 2015 Author Share Posted August 25, 2015 its ok! thanks a lot... ive copied the same code u give to me and is working perfect! thanks Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 okay thank you for reply i marked topic as solved regards, Milos 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