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: 1, 2, 3  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Changing text color
PostPosted: 04/21/2007 4:34 AM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 2:35 AM
Location: SE England
greatbrE.gif
Hey NR.
I'm stuck with what I'm trying to achieve with phpBBs' subSilver.



I want all the text in the headers to be orange, and the orange text to be red.

Any ideas? I'm stumped.

Thanks,
- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Changing text color
PostPosted: 04/21/2007 1:44 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: 10:35 PM
Location: St Pete, FL
peace.gif
The table header font color is the Font Colour 3 setting in your ACP => Styles Admin => Management section:



The link color for the Category is set in the Link color setting:



Unfortunately, when you change that, you change the color of all the links on your forum:



So you may have to either change the class setting for the Category or create a new one:

Code:
<span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span>


SubSilver is pulling it's class settings from the overall_header.tpl file rather than the subSilver.css file as you would expect.  So the setting probably looks like this in the overall_header.tpl file:

Code:
/* Forum category titles */
.cattitle      { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle      { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

You could create a cattitle2 setting and set it like this:

Code:
/* Forum category titles */
.cattitle, .cattitle2   { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle      { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover, a.cattitle2:hover{ text-decoration: underline; }
a.cattitle2      { text-decoration: none; color : #DD6900; }

Then in your index_body.tpl file, you could change the span class setting accordingly:

Code:
<span class="cattitle2"><a href="{catrow.U_VIEWCAT}" class="cattitle">

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/21/2007 3:02 PM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 2:35 AM
Location: SE England
greatbrE.gif
Thanks NR Very Happy
I tried editiing subSilver.css but to no evale  1

So do you also know how to change the Admin user color to red? Very Happy

Hehe  banana  I havn't used phpBB in so long, I've forgotten a little bit Sad

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Changing text color
PostPosted: 04/21/2007 3:19 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: 10:35 PM
Location: St Pete, FL
peace.gif
The admin color is set in Font Color 3 while the moderator color is in Font Color 2:



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/21/2007 4:20 PM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 2:35 AM
Location: SE England
greatbrE.gif
Hmm, well I can't get it to change it - it just ends up black.

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Changing text color
PostPosted: 04/21/2007 4:28 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: 10:35 PM
Location: St Pete, FL
peace.gif
Are you using a 6 digit hex code without the # sign in front???

dontknow
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/22/2007 12:33 AM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 2:35 AM
Location: SE England
greatbrE.gif
Yup.

- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Changing text color
PostPosted: 04/22/2007 12:55 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: 10:35 PM
Location: St Pete, FL
peace.gif
If the color was orange before you made the change, then black afterwards, you know that you are changing the correct value, but something is wrong with your code, or you are using a code that is black or close to it:7 000000...

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
Re: [Solved] Changing text color
PostPosted: 04/22/2007 1:41 AM Reply with quote
Citation
poomerio
Citation
Posts 407
Word Cnt. 10,993
BDay May 28
Sign Gemini
Sex Sex:Male
Joined: Feb 25, 2007
Local time: 2:35 AM
Location: SE England
greatbrE.gif
I was trying to use:
Code:
#FF0000


- Poomie
Back to Top
View user's profile Find all posts by poomerio Send private message   Phoogle Map
Re: Changing text color
PostPosted: 04/22/2007 1:46 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: 10:35 PM
Location: St Pete, FL
peace.gif
Remove the pound sign #...

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: 1, 2, 3  Next
Page 1 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0625s (PHP: 80% - SQL: 20%) - SQL queries: 58 - GZIP disabled - Debug on