vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Add tabs to navbar_tab and increase space between navbar links? (https://vborg.vbsupport.ru/showthread.php?t=232570)

Fusion2 01-08-2010 06:46 PM

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?

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 11: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 11: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-30-2010 12:15 AM

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-30-2010 12:32 AM

Have you looked at the pdf documents in the articles on vb.com and also in the manual? Stylevar Dictionary

rshinn 09-30-2010 12:47 AM

Not sure how I missed the stylevar dictionary in the vB manual. Thanks!
I will also check out the pdf docs.


All times are GMT. The time now is 04:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01089 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete