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
tehw1n
Hangin' Around



Joined: Jul 15, 2008
Posts: 49

PostPosted: Fri Feb 13, 2009 5:28 pm Reply with quote

How can i change this to behave as normal hyperlinks that are colored, site-wide?

As it is, I have to manually add color code to hyperlinks if I want users to visually notice them.

Thanks!
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Feb 13, 2009 6:26 pm Reply with quote

tehw1n, have you tried to change the CSS styling within the themes/CT_RN/style/style.css file? You may also need to look at themes/CT_RN/forums/theme_info.cfg.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
tehw1n







PostPosted: Sat Feb 14, 2009 1:14 pm Reply with quote

in the style.css i see the following;

Code:
A:link{font-size:12px; color:#ccc; text-decoration:none}

A:visited{font-size:12px; color:#ccc; text-decoration:none}
A:active{font-size:12px; color:#ccc; text-decoration:none}
A:hover{font-size:12px; color:#ccc; text-decoration:none}


changing these effects the module/blocks links, which I dont want.
I need articles and forum posts to display hyperlinks as normal only.

in theme_info.cfg i see a few areas to change.. but so far no change has made any difference that i can see.

Code:
...

$CT_RN[0]['body_link'] = '606EC5';
$CT_RN[0]['body_vlink'] = '5493B4';
$CT_RN[0]['body_alink'] = '338888';
$CT_RN[0]['body_hlink'] = 'DD6900';
...
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Feb 14, 2009 2:27 pm Reply with quote

Don't forget to refresh your page a few times or disable browser caching as CSS is cached - changes may not appear immediately.
 
View user's profile Send private message Send e-mail
tehw1n







PostPosted: Sat Feb 14, 2009 2:59 pm Reply with quote

double checked to see if caching was the issue - used different browsers etc.
not sure what theme_info.cfg actually affects... in terms of the part i quoted at least. but links are still white.

seems like a setting somewhere making all links white.
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sat Feb 14, 2009 5:59 pm Reply with quote

you could just add a custom class for the links you want to your CSS, for example:
Code:
a.sample:link {color: #212121;text-decoration:underline; font-style: oblique}

a.sample:visited {color: #212121}
a.sample:hover {color: #DEA65A}


then to use just add a class to your link
<a class="sample" href="........
 
View user's profile Send private message Visit poster's website
tehw1n







PostPosted: Sat Feb 14, 2009 10:02 pm Reply with quote

i appreciate the suggestion, but not really a viable option for my end users.
:/
 
spasticdonkey







PostPosted: Sun Feb 15, 2009 12:54 am Reply with quote

now that i remember i guess i made a couple changes to the links too:

find - style.css
A:link{font-size:12px; color:#ccc; text-decoration:none}
A:visited{font-size:12px; color:#ccc; text-decoration:none}
A:active{font-size:12px; color:#ccc; text-decoration:none}
A:hover{font-size:12px; color:#ccc; text-decoration:none}


replace with
A:link{font-size:12px; color:#ccc; font-weight: bold; text-decoration:none}
A:visited{font-size:12px; color:#ccc; font-weight: bold; text-decoration:none}
A:active{font-size:12px; color:#ccc; text-decoration:none}
A:hover{font-size:12px; color:#ffffff; font-weight: bold; text-decoration:underline}


the blocks and articles both use the same class so change one, change em both... unless you want to edit some more Smile
 
tehw1n







PostPosted: Mon Feb 16, 2009 7:13 pm Reply with quote

is the themes/CT_RN/forums/theme_info.cfg file the only place to change the hyperlink colors in forums?
 
tehw1n







PostPosted: Sun Feb 22, 2009 1:40 pm Reply with quote

sorry to pester this, but still curious if anyone can answer my last question.

alterations i made to theme_info.cfg didnt seem to have any effect.
 
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 ©