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)
-   -   Changing font color WGO box forum home (https://vborg.vbsupport.ru/showthread.php?t=306738)

yamahapaul 01-07-2014 07:47 PM

Changing font color WGO box forum home
 
1 Attachment(s)
How do I change the font color in the WGO box as shown on the attached pic? I'm sure that I used to know bvut have forgotten and cannot find it anywhere.... thanks in advance :)

yamahapaul 01-07-2014 07:50 PM

1 Attachment(s)
actually thats not very clear, this should be better

Lynne 01-07-2014 11:10 PM

You want to change the color of the font only where it says "There are currently xxx users online. yyy members and zzz guests"? Or you want to change the font color within that whole box or what? And what of the bold headings - those font colors too?

yamahapaul 01-07-2014 11:12 PM

this part Lynne

Quote:

Originally Posted by Lynne (Post 2472879)
"There are currently xxx users online. yyy members and zzz guests"


Lynne 01-08-2014 06:14 PM

You would need to edit the FORUMHOME template and put a <span> around that text and either give it a class and then define the class in your css template, or just add the style directly to the <span> tag.

yamahapaul 03-15-2014 08:19 PM

Quote:

Originally Posted by Lynne (Post 2473064)
You would need to edit the FORUMHOME template and put a <span> around that text and either give it a class and then define the class in your css template, or just add the style directly to the <span> tag.

how would I do either Lynne? you lost me at the put a <span> part...


:o

ozzy47 03-15-2014 11:30 PM

Find this in the FORUMHOME template:
Code:

<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
And change it to this:
Code:

<p><span style="color:red;">{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}</span>, {vb:raw session.sessionurl_q}} <span class="shade" style="color:red;">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
You can change the two instances of color:red to any color you wish.

yamahapaul 03-16-2014 12:17 AM

1 Attachment(s)
Thanks Ozzy, works a treat!

ozzy47 03-16-2014 12:18 AM

Excellent, glad to hear. :)

yamahapaul 03-16-2014 12:18 AM

A bit cheeky I know but... any thoughts on this-

https://vborg.vbsupport.ru/showthread.php?t=309496


All times are GMT. The time now is 05:42 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.01062 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete