Hi,

Whats the best way to center the menu?
Using the Style=none. For the theme (mayo 7.x) Im using, is the best compared with the other styles (cofee, light blue, ...)

thanks for the help

Comments

mehrpadin’s picture

Hey Alexandre,

Try something like this:

#navigation .sf-menu {
  text-align: center;
}
#navigation .sf-menu li {
  display: inline-block;  
  float: none;
}
#navigation .sf-menu li a {
  display: inline-block;
}
mehrpadin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

merilainen’s picture

I believe inline-blocks cause problems in IE's, I had it working for all browsers and then IE9 didn't do it right.

Michael G’s picture

Issue summary: View changes

Is the above code good for Adaptive Theme?
How should I use that code?

Thank you,
Michael.