Jump to content

Top Menu align center


Recommended Posts

Hi all,

 

i tried the solution from atomic penguin but it is not working for me. I can't find any errors...

Go to /themes/default-bootstrap/css/modules/blocktopmenu/css/superfish-modified.css

 

Change the .sf-menu

 

From:

.sf-menu {

  position: relative;

  padding: 0;

  width: 100%;

  border-bottom: 3px solid #e9e9e9;

  background: #f6f6f6; }

 

To:


.sf-menu {

  text-align: center;

  padding: 0;

  width: 100%;

  border-bottom: 3px solid #e9e9e9;

  background: #f6f6f6; }

 

And under .sf-menu > li, delete float: left; and add in display:inline-block;

attached my file

test.hockeyshop.it

 

 

if somebody could look over it and maybe find an error?

 

superfish-modified.css

Edited by maxik (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Sorry for the late reply but i had other stuff at work to do...

 

 

@dioniz

i changed the code in the superfish.css like describe in other posts but the menu still was on the left.

 

@Paulito

??

 

@Rho-bur

Working like a charm!!!!!

 

 

Thank you all for the help!

Link to comment
Share on other sites

  • 1 year later...

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