The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add tabs to navbar_tab and increase space between navbar links?
Can someone explain how i can add additional tabs to the Navbar?
I want to add some tabs that will display top articles, top blogs, top posts etc. But, cant figure out how to customize? Also the navbar links below the navbar tabs on my site are too close together. How can i increase the space between these links? |
#2
|
||||
|
||||
There are at least three articles explaining how to add tabs to the navbar and there are several modifications. All are slightly different. Do a search and one of them should be what you want.
As for spacing, do a search in templates for ".navtabs li.selected li a" and that should give you the padding stylevar. |
#3
|
|||
|
|||
Found it, but not sure how to change value.
Is this the Line to edit? "padding:{vb:math {vb:stylevar padding}/5} {vb:math {vb:stylevar padding}/2};" |
#4
|
||||
|
||||
If you plan to edit the template directly, and that is the line under what I told you to search for, then yes. I just like to add any changes to additional.css since I find that easier.
|
#5
|
|||
|
|||
Thanks for the fast reply.
I didn't realize that it was the setting for padding under "commom" in the stylevars. I was looking for it under navbar settings. Is there some sort document that breaks down all of the visual elements of the default style and lists the corresponding stylevar so we know where to make changes to padding, border, background, etc.? |
#6
|
||||
|
||||
Have you looked at the pdf documents in the articles on vb.com and also in the manual? Stylevar Dictionary
|
#7
|
|||
|
|||
Not sure how I missed the stylevar dictionary in the vB manual. Thanks!
I will also check out the pdf docs. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|