Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
oyjord
Hangin' Around



Joined: Aug 25, 2006
Posts: 44

PostPosted: Fri Jan 18, 2008 5:59 pm Reply with quote

Hi all,

Sorry for the newb question, I've been playing with my .css files and just can't find the answer.

I'd like to change the color of linkable text inside my forums posts. I don't want to mess with the Forum index text colors, just the color of links inside posts. As it is now, folks really can't tell what's linkable text and what's not w/o hovering over everything.

Thanks a bunch for your help,
Oy.
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Jan 18, 2008 6:32 pm Reply with quote

I have the following in my CSS file for forum posts:

Code:


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link    { text-decoration: none; font-weight: bold; color: teal; }
a.postlink:visited { text-decoration: none; font-weight: bold; color: teal; }
a.postlink:hover   { text-decoration: underline; font-weight: bold; color: red; }
a.postlink:active  { text-decoration: underline; font-weight: bold; color: red; }

/* Work around for phpBB */
.postbody a:link     { text-decoration: none; font-weight: bold; color: teal; }
.postbody a:visited  { text-decoration: none; font-weight: bold; color: teal; }
.postbody a:hover    { text-decoration: underline; font-weight: bold; color: red; }
.postbody a:active   { text-decoration: underline; font-weight: bold; color: red; }


You can change the style to suit you, of course. The important thing to note is the postbody and postlink classes, and the order in which the styles appear. I learned from 64-bit guy it does indeed matter, and for best results you should order them as link, visited, hover, active.

However you may be suffering from the "double header" problem that we will finally have fixed in RN 2.20 (due out soon). Which file are you changing your CSS in?

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
oyjord







PostPosted: Fri Jan 18, 2008 6:38 pm Reply with quote

Gremmie wrote:
I have the following in my CSS file for forum posts:

Code:


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link    { text-decoration: none; font-weight: bold; color: teal; }
a.postlink:visited { text-decoration: none; font-weight: bold; color: teal; }
a.postlink:hover   { text-decoration: underline; font-weight: bold; color: red; }
a.postlink:active  { text-decoration: underline; font-weight: bold; color: red; }

/* Work around for phpBB */
.postbody a:link     { text-decoration: none; font-weight: bold; color: teal; }
.postbody a:visited  { text-decoration: none; font-weight: bold; color: teal; }
.postbody a:hover    { text-decoration: underline; font-weight: bold; color: red; }
.postbody a:active   { text-decoration: underline; font-weight: bold; color: red; }


You can change the style to suit you, of course. The important thing to note is the postbody and postlink classes, and the order in which the styles appear. I learned from 64-bit guy it does indeed matter, and for best results you should order them as link, visited, hover, active.

However you may be suffering from the "double header" problem that we will finally have fixed in RN 2.20 (due out soon). Which file are you changing your CSS in?


Thanks so much for helping!

I'm looking at both:

./Harmony/style/style.css
./Harmony/forums/forums.css

and for the life of me, any changes I make to the postbody fields just don't take. Weird. Thanks a ton of helping out!

Oy.
 
oyjord







PostPosted: Fri Jan 18, 2008 6:57 pm Reply with quote

Here's a peculiarity which might help troubleshoot this problem (I'm a newb, please bear with me).

Ok, so I can't seem to make ANY changes in the "postbody" classes to stick in my Harmony theme.

I changed themes, went to AcidTechTiger, made changes to the same file (./AcidTechTiger/forums/forums.css) and THEY stuck.

So, it seems at least the forums.css file is the one I want. Now, why on earth aren't any changes to forums.css in my Harmony theme not sticking?

Thanks again,
Oy.
 
oyjord







PostPosted: Fri Jan 18, 2008 7:12 pm Reply with quote

Bingo.

I stopped playing with forums.css and went to ./style/style.css, and used the code:

Code:


.postbody { font-size: 12px;}
.postbody a   { text-decoration: none; color: #ffffff; }
.postbody a:visited { text-decoration: none; color: #ffffff; }
.postbody a:hover { text-decoration: underline; color: #ffe816; }


and it works great! Thanks for much for the help. God I love this site.

Oy.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©