How to Center The Logo and Navigation Menu in Acoustic Theme
Centering the Logo and the navigation menu of the Dandelion theme can be made with just a few lines on CSS code. Here is all the code you have to add to the Dandelion Options -> Styles Settings -> Additional Styles section:
– to center the logo only:
#logo-container a { float: none; margin-left: auto; margin-right: auto; } #logo-container { float: none; }
-to center logo and navigation menu:
#logo-container a { float: none; margin-left: auto; margin-right: auto; } #logo-container { float: none; } #menu-container { float: none; margin-left: auto; margin-right: auto; width: 700px; } #menu ul { text-align: center; }Note: In this tutorial we are using Firebug. If you don’t know what Firebug is, please first visit the How to Customize Your Theme With Firebug article.
In the following video you can see how the changes take effect on the theme using a firebug: