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)
-   -   Identifying Stylevars (https://vborg.vbsupport.ru/showthread.php?t=232060)

Cableguy69 01-03-2010 05:19 PM

Identifying Stylevars
 
Is there a way to identify what stylevar controls what?

I'm stuck changing the text colour on the cms page here.

https://vborg.vbsupport.ru/external/2010/01/70.png

I've tried changing that colour in the cms section of the stylevars, but that part never seems to change.

GRE 01-03-2010 06:25 PM

I think it's vbcms_navwidget_menuitem_background

Generally it's hard to identify stylevars and firebug doesn't help enough...

Lynne 01-03-2010 07:16 PM

I find that firebug works really well. I can find the class, do a Search in Templates for the class, and find the stylevar that way.

Cableguy69 01-03-2010 07:16 PM

It was vbcms_navwidget_menuitem_color but thanks.

I've got more problems with the stylevars though, for instance on the profile page, the side bar is still Blue, yet there isn't any Blue in any of the Stylevars, so how do I go about changing this?

http://www.hostmypics.org/pictures/9...e5d4b189f2.png

--------------- Added [DATE]1262554435[/DATE] at [TIME]1262554435[/TIME] ---------------

I've installed Firebug, but have no idea how it works.

Lynne 01-03-2010 07:35 PM

According to firebug, it is #usercp_nav .blockhead, so do a Search in templates for that. (It looks to be hard-coded, so just add a line to your additional css file, or the bottom of that css template, to change it.)

Cableguy69 01-03-2010 08:00 PM

I've found it in usercp.css & usercp-ie.css but I don't understand what would I change here?

PHP Code:

#usercp_nav .blockhead {
    
background-imagenone;


Would I put something like.

PHP Code:

#usercp_nav .blockhead {
    
background-color#000000;


--------------- Added [DATE]1262556659[/DATE] at [TIME]1262556659[/TIME] ---------------

It's ok, I've done it now thanks Lynne

GRE 01-03-2010 08:56 PM

Sorry, I didn't notice you wanted to change the text.


All times are GMT. The time now is 03:01 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.02167 seconds
  • Memory Usage 1,722KB
  • 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_php_printable
  • (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