Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Changing text color
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Changing text color
PostPosted: 04/26/2007 6:41 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 2:26 PM
usaCa.gif
O.K. I got the Title but cannot figure out the description.  Bacically I want it the same as it is except for the color.

I know where to change the call part and figured creating a new class for it would be just like the title except for the font size, but I don't understand that 120% would it change cause the font size changes?
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Changing text color
PostPosted: 04/27/2007 12:35 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:26 PM
Location: St Pete, FL
peace.gif
The Site Description class is gen and is also assigned in the overall_header.tpl file in the subSilver template along with other similar classes:

Code:
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; }

So if you want everything to remain the same except for the color, you can create a new class and assign it like this:

Code:
.gen, .gen2 { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; }
.gen2 { color : #000000; } //assign the color that you want in place of 000000

Assign the color that you want in place of 000000 in .gen2 on the bottom line.  Then go down and modify the following:

OPEN
subSilver/overall_header.tpl

FIND
Code:
<span class="gen">{SITE_DESCRIPTION}

REPLACE WITH
Code:
<span class="gen2">{SITE_DESCRIPTION}

Don't forget to create a good backup of any file that you manually modify before you overwrite it, just in case...

headbang
headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Changing text color
PostPosted: 04/27/2007 2:41 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 2:26 PM
usaCa.gif
O.K. I see now.  One last question if I wanted to add italic in there then would the gen2 be created on a seperate one from the gen and put the instruction there or would the instruction go down at the bottom where gen2 gets called.

Sure hope that made sense.
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Changing text color
PostPosted: 04/27/2007 3:30 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 3:26 PM
Location: St Pete, FL
peace.gif
You could do it either place.  You could do this:

Code:
.gen2 { color : #000000; font-style: italic; } //assign the color that you want in place of 000000

Or you could do this:

Code:
<span class="gen2"><i>{SITE_DESCRIPTION}</i>

The first option is probably the better one though...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2, 3
Page 3 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.085s (PHP: 56% - SQL: 44%) - SQL queries: 39 - GZIP disabled - Debug on