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

gwat 11-26-2010 12:24 PM

Stylevars. Help!
 
Hi, I have been able to find the correct StyleVar to edit the styles except these 4 areas:

https://vborg.vbsupport.ru/external/2010/11/12.png
^I want to change the grey part of the login area to another colour.

https://vborg.vbsupport.ru/external/2010/11/13.png
I tried to change the 'wgoheader_background' but the colour simply won't change!

https://vborg.vbsupport.ru/external/2010/11/14.png
I want to change the colour of my thread headers.

https://vborg.vbsupport.ru/external/2010/11/15.png
And I wish to change the colour of the word 'announcements'.

Can anyone help me with the above 4 changes?

Does anyone happen to know of a good stylevar dictionary? I have been using the one provided by vB here: http://www.vbulletin.com/docs/html/m...tionary_forums but it seems a little disorganised and incomplete to me.

StateCollapse 11-29-2010 03:41 PM

I can help you with two problem.

Picture 2
->wgoheader_background
This works in my forum. If I change from red to black (a test only), it works great!

Picture 3
->postbithead_background

Picture 4.
It was a long time a designed my forum. So I don?t remeber, sorry!

My wish is that you can open a CSS-file in a program there you can fix the php-code, exampel is the program "Intype". But now you must to change all the CSS in the Stylevar, and I dont like it. I like to change the CSS like I do on my hompage in the program "Intype". I hope vbulletin can do it, so the member can change the CSS in forum and if they want they can change the CSS in a program. Two choise like a simple! :)

daxitude 12-01-2010 04:30 PM

1 - (edit) I found it. It's defined by {vb:stylevar navbar_tab_background.backgroundColor}

2 - This is defined by css property .wgo_block .blockhead. The background is set by {vb:stylevar secondarycontent_header_background}. Tested on my forum and this works.

3 - This is the post header? If so StateCollapse is correct: {vb:stylevar postbithead_background}

4 - This is {vb:stylevar link_color}

Whenever I can't find a stylevar I use developer tools in Google Chrome or Firebug in Firefox to Inspect Element, find the relevant css property, search templates for that css property, and figure out which stylevar is styling it. In some cases I've found goofy settings where you think there should be a stylevar and have ended up editing the css to get the desired effect.


All times are GMT. The time now is 08:06 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.00904 seconds
  • Memory Usage 1,717KB
  • 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
  • (3)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