Author |
Message |
tehw1n
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 15, 2008
Posts: 49
|
Posted:
Fri Feb 13, 2009 5:28 pm |
|
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Feb 13, 2009 6:26 pm |
|
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. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tehw1n
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Feb 14, 2009 1:14 pm |
|
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';
...
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Feb 14, 2009 2:27 pm |
|
Don't forget to refresh your page a few times or disable browser caching as CSS is cached - changes may not appear immediately. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tehw1n
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Feb 14, 2009 2:59 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sat Feb 14, 2009 5:59 pm |
|
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="........ |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tehw1n
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Feb 14, 2009 10:02 pm |
|
i appreciate the suggestion, but not really a viable option for my end users.
:/ |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 15, 2009 12:54 am |
|
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](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tehw1n
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 16, 2009 7:13 pm |
|
is the themes/CT_RN/forums/theme_info.cfg file the only place to change the hyperlink colors in forums? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
tehw1n
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 22, 2009 1:40 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|