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)
-   -   How to change navbar arrow colors in stylevars or css file? (https://vborg.vbsupport.ru/showthread.php?t=236524)

Verionia 02-21-2010 07:42 PM

How to change navbar arrow colors in stylevars or css file?
 
I am having trouble changing the arrow colors in the navbar. They are white and I would like them black. How can I do this? Also how to change the hover text color next to these arrows? They are black and I would like them white, thx.

Xtrato 02-22-2010 06:03 PM

the arrow is an image ,just look for the image path , and change it to black...

the hover text to the arrows,, well which arrows do you speak of? ...

Verionia 02-26-2010 03:17 AM

Quote:

Originally Posted by Xtrato (Post 1988971)
the arrow is an image ,just look for the image path , and change it to black...

the hover text to the arrows,, well which arrows do you speak of? ...

Please check out my site- using the dropdown. forum.php and you'll see what I mean! :(

Verionia 02-28-2010 12:14 AM

anyone?

DaRK mAN306 02-28-2010 09:44 AM

1 Attachment(s)
Hello there Verionia,

As Xtrato mentioned, the arrow is an image and in order for you to change it's color you'll need to edit it from your style's "misc" folder >> I've taken care of that, see "Changing navbar's arrow color" for more information :p ..

About the text hover color, I can see that they're white .. Maybe you've managed to edit it or maybe you mean the "active" color and not the "hover" color .! The reason why i'm saying that is that the text color is already white and when you move your mouse on it, it stays white >> "hover" .. But when you click on it, it turns into black >> "active" ..


Anyway, I'll explain to you how to solve your problem:
  • Changing navbar's arrow color:
  1. Download attached images (arrow.png & arrow.gif) and upload both of them to your vB's style "misc" folder >> That should solve the arrow's color issuse ..
  • Changing navbar's text "active" color:
  1. First, sign into your Admin CP ..
  2. Next, go to "Styles & Templates >> Style Manager" ..
  3. After that, choose "Edit Templates" option from your defined vB Style drop-down menu ..
  4. Then, Expand the template groups and look for "vbulletin-chrome.css" template and edit it ..
  5. Once you enter the template, look for:
    Code:

    .navtabs li.selected li:hover a.popupctrl.active,
    .navtabs li.selected li a.popupctrl.active {
        border-color:{vb:stylevar navbar_tab_background.backgroundColor};
        background-color:{vb:stylevar navbar_tab_background.backgroundColor};
        color:{vb:stylevar navbar_link_color};
        text-decoration:none;
    }

  6. Change it to this:
    Code:

    .navtabs li.selected li:hover a.popupctrl.active,
    .navtabs li.selected li a.popupctrl.active {
        border-color:{vb:stylevar navbar_tab_background.backgroundColor};
        background-color:{vb:stylevar navbar_tab_background.backgroundColor};
        color: #FFF;
        text-decoration:none;
    }

    The text in RED points to the color you want which have been set to "white" as you asked .!
  7. "Save" the template and go check out your forum ..
That should do the trick ..
BTW, your website is blocked in my country for a reason or another :p ..


All times are GMT. The time now is 05:57 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.00990 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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