Jump to content

Top Horizontal Menu Align Categories Name Center


Recommended Posts

Try this in themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css change  line 13 to

.sf-menu {
  position: relative;
  padding: 0;
  width: 100%;
  border-bottom: 3px solid #e9e9e9;
  background: #f6f6f6;
  text-align: center;
  }

and line 40 to

.sf-menu > li {
    float: none;
    border-right: 1px solid #d6d4d4;
    margin-bottom: -3px;
    display: inline-block;
}

Share this post


Link to post
Share on other sites
  • 4 months later...
  • 3 years later...
On 1/15/2016 at 9:17 PM, razaro said:

Try this in themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css change  line 13 to


.sf-menu {
  position: relative;
  padding: 0;
  width: 100%;
  border-bottom: 3px solid #e9e9e9;
  background: #f6f6f6;
  text-align: center;
  }

and line 40 to


.sf-menu > li {
    float: none;
    border-right: 1px solid #d6d4d4;
    margin-bottom: -3px;
    display: inline-block;
}

float : none ...causes the menu line up vertically. Not centering in my case ;-( PS1.6.1.24

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More