Jump to content

top horizontal menu display items at center


sickshot

Recommended Posts

Hmm, maybe this helps:

 

in file themes/<your theme folder>/css/modules/blocktopmenu/css/superfish-modified.css: (make backup!)

 

you may find something like this:

 

.sf-contener {
    width: 100%;
    clear: both;
    float: left;
}

 

 

change it into:

 

.sf-contener {
    width: 100%;
    margin-top: 88px;
 //   clear: both;
 //   float: left;
}

 

(You might have to change the 88px. When too large, it won't float to center. It's a little picky...)

 

give it a try. (Check in the different browsers)

 

pascal.

Link to comment
Share on other sites

Maybe try this:

 

in file themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css (make backup!!!)

add:

 

@media (min-width: 992px) and (max-width: 1199px){

 .sf-contener { margin-left: 7%;}

}

 

@media (min-width: 1200px) {

 .sf-contener { margin-left: 14%;}

}

 

That should do it, I think.

 

 

BTW, I see that when making your screen smaller than 992 pixels wide, the menu will be displayed in two rows. This will cause that the line, normally drawn above the menu, now is drawn over the first row of menu items.

 

To fix this, try this:

 

in themes/default-bootstrap/css/global.css: (make backup!!)

 

add at the bottom:

@media (min-width: 768px) and (max-width: 991px) {

  #line { bottom: 29%;}

}

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...