PDA

View Full Version : problems changing the color of font?


txt3rob
01-19-2007, 10:49 AM
http://sub.outallnite.co.uk/

if you check that out you will see the read more bit etc are in white when i need them in black i've tryed span div font tags and they refuse to change and im editing the correct news.php file.

any one able to help?

jessenco
01-26-2007, 02:43 AM
All your links are in white text because this is your default setting for all links in your stylesheet.

If you want a specific link not to inherit the default style, you have to define a style class for this one and set your link to use that class.

Like this:

<a class="style5" href="........etc.

For example, in your news.php file you can do it like this:

// display link to article
echo ' <a class="style5" href="' . RewriteNewsLink($categoryid, $article['articleid']) . '">' . $p2_language['read_more'] . '</a>';


Define class style5 properties in your stylesheet and you can remove <font color="black"></font>.

BTW your design is broken in EI7.