Quote:
Originally Posted by Lynne
Take a look in the articles forums. There are a few articles on how to add tabs to your navbar for 4.0.
|
Thanks, I tried your article and couldn't get it to work. I don't understand exactly how the code works. The link works fine but whenever I click on my new link, the forum tab becomes selected.
Here is the code:
Code:
$tabselected = '';
$tablinks = '';
if (photobutton == '/gallery')
{
$vbulletin->options['selectedpb']='/gallery';
$tabselected = ' class="selected"';
}
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="/gallery">Gallery</a>'.$tablinks.'</li>' ;
I really want to modify the style of the tabs (not basic color changes but the name, the design (add a pic etc.). Would I be able to do this from a CSS file?
I can't seem to find an article on this subject.