Jump to content

Archived

This topic is now archived and is closed to further replies.

optimizewise

Centering Top Nav?

Recommended Posts

optimizewise

I need to center my top navigation in DMS2 and I found a forum post discussing it and added the CSS below but it isn't working. 

#site
.section-navbar .navline {
float: none;
text-align: center;
}
 
.section-navbar .navline li {
display: inline-block;
float: none;
}

The site is http://mig.flywheelsites.com/

 

Thanks!

Share this post


Link to post
Share on other sites
Danny

Hi,

 

The code above is for the NavBar section and, therefore, will not work with Navi. So remove any custom code you have added related to centering the navigation and then add the following:

 

#site .navi-right {
  float: none;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×