PDA

View Full Version : Add tabs to navbar_tab and increase space between navbar links?


Fusion2
01-08-2010, 06:46 PM
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?

Lynne
01-08-2010, 07:38 PM
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.

rshinn
09-29-2010, 10:36 PM
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};"

Lynne
09-29-2010, 10:48 PM
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.

rshinn
09-29-2010, 11:15 PM
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.?

Lynne
09-29-2010, 11:32 PM
Have you looked at the pdf documents in the articles on vb.com and also in the manual? Stylevar Dictionary (http://www.vbulletin.com/docs/html/styleref_stylevars_dictionary)

rshinn
09-29-2010, 11:47 PM
Not sure how I missed the stylevar dictionary in the vB manual. Thanks!
I will also check out the pdf docs.