Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2010, 12:24 PM
gwat gwat is offline
 
Join Date: Nov 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Stylevars. Help!

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


^I want to change the grey part of the login area to another colour.


I tried to change the 'wgoheader_background' but the colour simply won't change!


I want to change the colour of my thread headers.


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.
Reply With Quote
  #2  
Old 11-29-2010, 03:41 PM
StateCollapse StateCollapse is offline
 
Join Date: Dec 2009
Location: Sweden
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #3  
Old 12-01-2010, 04:30 PM
daxitude daxitude is offline
 
Join Date: Nov 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:54 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.04107 seconds
  • Memory Usage 2,178KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete