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)
-   -   Change the Font Color of "Recent Forum Posts" block (https://vborg.vbsupport.ru/showthread.php?t=263813)

vBNinja 05-18-2011 12:47 AM

Change the Font Color of "Recent Forum Posts" block
 
Hello

i want to change the text color of the "Recent Forum Posts" block because the font is grey and the background of it is black so its hard to read..

how can i do this?

Thank You

RobbieZ 05-18-2011 12:24 PM

Looks like you have generated/installed a dark theme.

It also depends what board number you are using!

You should find it in your stylevars > vbcms_widget_color > but be careful as it is also linked to cms_widget_post_content

If this is the case then you need to search for cms_widget_post_content inside vbcms.css and change the color from linking to the associated stylevar!

vBNinja 05-18-2011 02:19 PM

i cant find "vbcms_widget_color" and im running on 4.1.3..

thanks

btw here is my vbcms.css code if you want to see it:

Code:

http://pastext.net/3400

Lynne 05-18-2011 03:06 PM

There is definitely a stylevar named "vbcms_widget_color" in 4.1.3 Are you looking in the right place - in the stylevars area?

vBNinja 05-18-2011 03:32 PM

Nope not there
Maybe its my style or something?

RobbieZ 05-19-2011 10:19 AM

Your looking in AdmnCp > Style Manager (Your style) StyleVars > vbcms > vbcms_widget_color ?

https://vborg.vbsupport.ru/external/2011/05/29.jpg

vBNinja 05-19-2011 11:22 AM

nope not there

look for yourself:

https://vborg.vbsupport.ru/external/2011/05/24.png

RobbieZ 05-19-2011 12:10 PM

Hmmm, your using Assault style from eXaltic.com?

Can you check to see if that stylevar is in your default skin please.

If I'm right, eXaltic re-wrote the stylevars to fit with their theme and the sidebar was switched off as it didnt work and looked pants.

Can you link me to your site?

One sec, I can see it, line 57 on your vbcms.css code

Its linking to your sidebar_header_color - You need to change that to a better color.

vBNinja 05-19-2011 02:22 PM

ok i changed the color to white and didnt make a change
the stylevar isnt in my default skin either

and when i view the source of my page i found which class it's using:

Code:

<p class="cms_widget_post_content widget_post_content">Example recent post preview text</p>
that is the class for the text i want to change the color of

how can i do this?

maybe i add something in my additional.css ?

thanks

RobbieZ 05-19-2011 04:12 PM

I have just checked my 4.1.3 board and there is definitely a stylevar called vbcms_widget_color which I changed to a nice bright pink!

I then went into vbcms.css and changed the code to read this

.cms_widget_header h3 {
color: {vb:stylevar vbcms_widget_color};

Originally this

.cms_widget_header h3 {
color: {vb:stylevar sidebar_header_color};

The widget_header h3 is calling to any stylevar I insert into there which subsequently changes all the text to that color.

Try changing the stylevar to a known one that you dont use!

Recent Forum Posts is found in CMS Widgets

What I find confusing is that you cant locate the same stylevar I have but as I havent got a link to your forum or known skin I'm sorry to say I can be of no further assistance. :(


All times are GMT. The time now is 09:28 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.01775 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete