Log in

View Full Version : How to center the navigation bar? in vb 4.2.1


JohnD5000
09-30-2013, 05:57 PM
Hello,

How do I center the navbar as has been done on this site:

www.empirisoft.com/support

I have searched hi and low to no avail, thanks.

john@burmese.org

Bubble #5
10-03-2013, 04:42 AM
I have asked this same question many times. No one has been able to answer it.

The link you provided was for vB 3.6. There used to be a hack for that older version, but it doesn't work with 4.2.1. If I figure it out I'll let you know how I did it.

fxdigi-cash
10-05-2013, 05:35 PM
There is should be an answer of course, but may not the best as you know...

You can add some css to your class .navtabs:

.navtabs {
padding-left: 0;
margin-left: 10%;
margin-right: 10%;
}

webmastersun
10-10-2013, 02:34 PM
Show your site and I can help you center navigation
or you can try this code
.css_your_navi{
margin: 0px auto;
width: 800px;
}

demdev
10-17-2013, 10:03 AM
I found this option under admincp/styles templates/style manager/[your current style]/edit template/CSS Templates

from there you need to find the .footer id or class, copyright is likely the class, depending on your theme, and set text-align to center...worked for me.....

demdev
10-18-2013, 11:54 AM
Just realized my mistake.....you were after the nav section....same holds true....lemme look through, but that question is definitely a css change. Sorry for the mistake in my answer, thought you were looking at sub-footer text. Will post the correct line if I can find it, though I believe the same area of admincp is where you would find it.