vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to turn color off? (https://vborg.vbsupport.ru/showthread.php?t=280773)

Syxguns 03-28-2012 06:45 AM

How to turn color off?
 
1 Attachment(s)
I've been playing with the StyleVars, and have not been able to find it, so I'm thinking that it is a code change that I need to make, but I'm not sure.

The main forum tabs, ie. Home, Forums, etc. I don't want to have change a different color when I mouse over them. As you can see in the picture, "Groups" is currently hovered, but I don't want it to be blue when I mouse over it. Thanks for any help you may be able to provide. I'm running vB 4.1.11

setishock 03-28-2012 08:14 AM

In the stylevar group Navbar, The ones titled navbar_tabs controls what those buttons look like.

Syxguns 03-28-2012 04:13 PM

1 Attachment(s)
Thank you for your answer, but it doesn't seem to be the correct one. I think I may have to turn this off in the CSS file, but I'm not sure. I've searched the entire StyleVars and can not find anything that will work. I just want to turn the hover color off.

Syxguns 03-29-2012 05:30 AM

Wow, I finally figured it out!! I thought I would post the answer for another user that may be trying to do the same thing..

Instructions:
1) Styles & Templates > Style Manager
2) In the drop down box next to your style name select "Edit Template" then press GO!!
3) In the box to the left scroll down until you see "CSS Templates" and double click it.
4) In the list under CSS Templates double click on "vbulletin-chrome.css"
5) At the bottom of the window is a search in template box. copy paste this:

Code:

.navtabs li a.navtab:hover {
6) It will find that line of code and it looks like this:

Code:

.navtabs li a.navtab:hover {
        background:{vb:stylevar navbar_tab_selected_background} 0 -{vb:stylevar navbar_tab_selected_top_height};
        color:{vb:stylevar navbar_tab_selected_color};
}

All I did was make the two lines of code remarks like this:

Code:

.navtabs li a.navtab:hover {
        /*background:{vb:stylevar navbar_tab_selected_background} 0 -{vb:stylevar navbar_tab_selected_top_height};*/
        /*color:{vb:stylevar navbar_tab_selected_color};*/
}



All times are GMT. The time now is 11: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.01508 seconds
  • Memory Usage 1,713KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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