PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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: 9133
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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';
...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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


Joined: Jul 15, 2008
Posts: 49

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

i appreciate the suggestion, but not really a viable option for my end users.
:/
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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
View user's profile Send private message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

is the themes/CT_RN/forums/theme_info.cfg file the only place to change the hyperlink colors in forums?
View user's profile Send private message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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.
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum