How to center Blog Navigation (both nav bars in header)

NOTE: Starting with OptimizePress version 2.5.11 we introduced a newer theme that has a more modern design, faster loading pages, and better SEO. We would suggest trying out the new OptimizePress Smart Theme. If you have an active updates/support license you should see this in the members hub, along with a downloadable PDF step by step guide on how to use the new Smart Theme

We can no longer provide the older OptimizePress Theme files for download for new sites. If you have an existing site and need to re-install the theme files please contact our support team and they will gladly assist with that. For now, we will still provide updates and support for the older OptimizePress Theme

This guide is for the older OptimizePress Theme version and not for the new Smart Theme

If you want to center the navigation of your blog pages (the navigation bars showing in the header of your blog) You can use the code on this page.

You should add this code to the Blog Settings > Modules > Other Scripts (Custom CSS):

body .navigation ul {
text-align:center;
}

body .navigation ul li {
float: none;
display: inline-block;
text-align: center;
}

body .container .navigation ul {
text-align:center;
}

body .container .navigation ul li {
float:none;
display: inline-block;
text-align: center;
}