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)
-   -   Change Tab Color using Navigation Manager (https://vborg.vbsupport.ru/showthread.php?t=307157)

Nelson58 01-17-2014 04:30 PM

Change Tab Color using Navigation Manager
 
I have done a couple of searches but cannot find the answer to this.

I am using Navigation Manager with an enhancement from DBTech
https://vborg.vbsupport.ru/showthread.php?t=274972

I want to change the appearance (background and text) of just one or two tabs to make them stand out.

How can I do this please?

ozzy47 01-17-2014 04:33 PM

There should be a option in the product to change the text color.

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

Nelson58 01-17-2014 04:35 PM

Quote:

Originally Posted by ozzy47 (Post 2474968)
There should be a option in the product to change the text color.

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

I am sorry, I wasn't clear.

I want to change background tab color (hover and non hover) and text to really make it stand out from the others.


Nelson

ozzy47 01-17-2014 04:54 PM

Well you would first need to get the identity of each tab you want, then add this to your additional.css

Code:

#vbtab_forum a.navtab {
    background-color: black;
    color: #FBCB3D
}

#vbtab_forum a.navtab:hover {
        background-color:white;
        color:{vb:stylevar navbar_tab_selected_color};
}

This will need to be done for each tab, the identity of the example is the Forum tab, vbtab_forum

You can change the colors to anything you want, just experiment.

For future reference, please don't ask in multiple places, I saw that you asked the same question in another place after posting this.

tbworld 01-17-2014 07:39 PM

Nice job @Ozzy47 this will help a few out there, to me your unlikeable. :)

ozzy47 01-17-2014 09:42 PM

Yeah I am sure some people will use it. I get that quite a bit with the unlikable deal. :)

Nelson58 01-18-2014 12:36 PM

Where is this entered? I went to main.css and there is a box to enter text but no save button, so it must be the wrong place.

ozzy47 01-18-2014 01:59 PM

Just add it to your additional.css template

Nelson58 01-18-2014 03:25 PM

Quote:

Originally Posted by ozzy47 (Post 2475165)
Just add it to your additional.css template

Worked great! Thanks! One more thing, how do I change the "selected colors"...it is tough to read...

ozzy47 01-18-2014 03:45 PM

I don't think it's possible to do that with CSS just for the individual tabs, that needs to be done globally with the stylevar.


All times are GMT. The time now is 10:33 AM.

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.01026 seconds
  • Memory Usage 1,729KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete