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 modify the CSS of a theme? (https://vborg.vbsupport.ru/showthread.php?t=256141)

sabillondesigns 12-29-2010 06:15 PM

How to modify the CSS of a theme?
 
I want to make the forum to match my site so I would like to access the css file.

Is it possible?

thanks

TheLastSuperman 12-29-2010 06:52 PM

Quote:

Originally Posted by sabillondesigns (Post 2140875)
I want to make the forum to match my site so I would like to access the css file.

Is it possible?

thanks

It sure is ;).

AdminCP > Styles & Templates > Style Manager

Now you can modify stylevars which are in most of the CSS by selecting "StyleVars" from the styles drop down menu on the right. Alternatively you can select to "Edit Templates" from the drop down and then look for CSS Templates, now double-click that to expand that and there's quite a few templates however most are named after the areas they define.

ailios 12-29-2010 10:11 PM

Which of those CSS template relate to the overall forum color? I'm looking for a way to tweak a couple of the main forum colors to something we like better.

sabillondesigns 12-29-2010 10:56 PM

Quote:

Originally Posted by TheLastSuperman (Post 2140887)
It sure is ;).

AdminCP > Styles & Templates > Style Manager

Now you can modify stylevars which are in most of the CSS by selecting "StyleVars" from the styles drop down menu on the right. Alternatively you can select to "Edit Templates" from the drop down and then look for CSS Templates, now double-click that to expand that and there's quite a few templates however most are named after the areas they define.

thanks.

I've been playing around with it. It's a bit confusing.

anyways, I've manage to find most elements but having problem with one.

How do you change the color of the font in wysiwyg editor? I have a dark theme and the text comes out black whenever you want to post a reply..

thanks.

CroNiX 12-30-2010 12:02 AM

try putting this in your additional.css
.wysiwyg.content {color:#FFFFFF}
or whatever color...

sabillondesigns 12-30-2010 05:01 PM

Quote:

Originally Posted by CroNiX (Post 2141066)
try putting this in your additional.css
.wysiwyg.content {color:#FFFFFF}
or whatever color...

thanks. That didnt work but this did work:

.wysiwyg {color:#ffffff;}

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

So im trying to change the color of the text that appears on the side of the Profile page.

I see that the styling on Stylevars is being overwritten and I tracked it down and i find this:

#sidebar_container .blocksubhead
{
color: {vb:raw moduleinactive_text_color};
border-color: {vb:raw moduleinactive_border};
}


Is there anywhere I can change the settings of moduleinactive_text_color?

CroNiX 12-30-2010 08:00 PM

Yeah, add it to the additional.css file. If you're not using firebug it makes finding these things a breeze. Its just too tedius (at least to me) to change things via the stylevars. I just overwrite everything in additional_css.css with !important delcarations. Much faster.


All times are GMT. The time now is 03:04 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.01807 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
  • (3)bbcode_quote_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