vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Stumped Cant Find StyleVar (https://vborg.vbsupport.ru/showthread.php?t=256371)

JWL 01-02-2011 10:10 PM

Stumped Cant Find StyleVar
 
1 Attachment(s)
As seen in the attached, I cannot find where or how I can change the Back ground to be tad darker then white or for that matter the Font Color to Black.

I have spent the past 3 hours looking and testing yet nothing changes. I cannot find where this is stored to change, Please help

In the image below, the hover color is as it should be, but for whatever reason, the FONT and Background are white. I prefer to have the Font Black, but gave up looking as I was unable to correct. So I opted to find Bck ground, No help there either.



Attachment 125141

TheLastSuperman 01-02-2011 11:05 PM

Is this a style you have created, a free style, or a paid style?

This might be one of those circumstances where one stylevar is used in another area so if you changed it to suite a dark theme you might be required to make some new CSS and edit the template I'm unsure without more info.

JWL 01-03-2011 12:49 AM

Quote:

Originally Posted by TheLastSuperman (Post 2142985)
Is this a style you have created, a free style, or a paid style?

This might be one of those circumstances where one stylevar is used in another area so if you changed it to suite a dark theme you might be required to make some new CSS and edit the template I'm unsure without more info.

This is the Black Theme Supplied by Vbulletin.

TheLastSuperman 01-03-2011 02:17 AM

Quote:

Originally Posted by JWL (Post 2143022)
This is the Black Theme Supplied by Vbulletin.

Ohh well then isn't that lovely lol simple issue really, go to editor.css in your style manager under the CSS Templates family and edit, now find:

Code:

.editor_controls .attachment {
        font-size:{vb:stylevar small_fontSize};
        border-top:none;
        padding:1px;
        position: relative;
}

Replace with:

Code:

.editor_controls .attachment {
        background: #FF0000;
        font-size:{vb:stylevar small_fontSize};
        border-top:none;
        padding:1px;
        position: relative;
}

Replace the #FF0000 with your color code or use rgb(205, 205, 205) that's a red and gray example but use the red you'll see the change then edit to suit, if you see a stylevar variable in the code and know what color it is you can easily key that in as well ;).

JWL 01-03-2011 02:26 AM

LOL

I was digging through edior.css all day, I never saw that until now LOL

Thanks, That corrected it

TheLastSuperman 01-03-2011 02:34 AM

Quote:

Originally Posted by JWL (Post 2143042)
LOL

I was digging through edior.css all day, I never saw that until now LOL

Thanks, That corrected it

Glad it's sorted and I believe we've all chased our tails in a circle at least once along our way eh? ;) :p


All times are GMT. The time now is 08:14 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.01258 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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