https://www.icyphoenix.com/viewtopic.php?f=36&t=1710 ----------------------------------- DWho Sun 22 Apr, 2007 21:48 Change Class ----------------------------------- Hi I am making a theme for my site but I need to change the colour of a link but cannot find where to change the class so that it is a different colour than the rest of the links... [img]http://www.icyphoenix.com/files/images/166/change.jpg[/img] The arrow points to the link I would like to change I know the code in the css file but I need to change the class of this link... this is the line of code in index_box.tpl [code linenumbers=false] {catrow.forumrow.LAST_POST}[/code] and this is the peice of code.. [code linenumbers=false]{catrow.forumrow.LAST_POST}[/code] Does that sense and thanks for any help... :mrgreen: :mrgreen: ----------------------------------- sonoangelo Sun 22 Apr, 2007 23:38 Re: Change Class ----------------------------------- you have to change it from css ;) ----------------------------------- DWho Sun 22 Apr, 2007 23:57 Re: Change Class ----------------------------------- [quote user="sonoangelo" post="12602"]you have to change it from css ;)[/quote] Hi I know I have to change it from the CSS file I also know where the class is in the css file what i need to do is change the class of the link to something else so I can change the colour of it.... this is the class it is at the moment [code linenumbers=false]a { color: #225566; text-decoration: underline; } a:visited { color: #225566; text-decoration: underline; } a:hover, a:active { color: #CC3333; text-decoration: underline;}[/code] but I want to make it look like this [code linenumbers=false]a.link1 { color: #ffffff; text-decoration: underline; } a.link1:visited { color: #ffffff; text-decoration: underline; } a.link1:hover, a:active { color: #ffffff; text-decoration: underline;}[/code] I just need to find where I can change the class.. I will try and make my question clearer next time so I do not confuse any one.... Thanks :mrgreen: :mrgreen: ----------------------------------- Mighty Gorgon Wed 25 Apr, 2007 01:30 Re: Change Class ----------------------------------- Sorry, but I can't understand if you have solved your problem or not... :roll: Anyway you may want to take a look in [b]includes/functions_category_hierarchy.php[/b] [codeblock] $last_post .= '' . $lang['View_latest_post'] . '';[/codeblock] ----------------------------------- DWho Wed 25 Apr, 2007 01:51 Re: Change Class ----------------------------------- Hi Thanks yes sorry I did sort it and I forgot to post back here marking it solved.. Thank you for the reply.. :mrgreen: :mrgreen: