Change Class


Subject: 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...

change

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: [Download] [Hide] [Select]
<td class="row1 row-center-small" width="160" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>


and this is the peice of code..
Code: [Download] [Hide] [Select]
{catrow.forumrow.LAST_POST}


Does that sense and thanks for any help...

:mrgreen: :mrgreen:

Subject: Re: Change Class
you have to change it from css ;)

Subject: Re: Change Class
sonoangelo wrote: [View Post]
you have to change it from css ;)


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: [Download] [Hide] [Select]
a {
color: #225566;
text-decoration: underline;
}

a:visited { color: #225566; text-decoration: underline; }
a:hover, a:active { color: #CC3333; text-decoration: underline;}


but I want to make it look like this

Code: [Download] [Hide] [Select]
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;}


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:

Subject: 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 includes/functions_category_hierarchy.php

Code: [Download] [Hide] [Select]
$last_post .= '<a href="' . append_sid(VIEWTOPIC_MG . '?' . POST_POST_URL . '=' . $data['tree.topic_last_post_id']) . '#p' . $data['tree.topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';

Subject: 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:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1657s (PHP: 10% SQL: 90%)
SQL queries: 13 - Debug Off - GZIP Enabled