Jump to content

change subcategories listing...


Recommended Posts

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

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

.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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...