Center tabs
-
Hello, thanks for the great plugin, it’s amazing! One thing I’ve been trying to do is center the tabs/pills. I was able to use the following code in my style.css to get it to somewhat work:
.nav-tabs > li, .nav-pills > li { float:none; display:inline-block; } .nav-tabs, .nav-pills { text-align:center; }
However, as the page is loading, you can see the tabs move to the left 30px. I have tried editing many things but no matter what I try, that movement won’t go away.
Any ideas on how to successfully center the tabs?
Thanks,
Zach
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Center tabs’ is closed to new replies.