coloring new msg cells
3 posters
Page 1 of 1
coloring new msg cells
ok this is from ange tut
the problem is it not only colors the new post cells but it also colors the legend for the post icons
is there a way to fix this besides removing the legend
- Code:
$(function() {
$('img[src="http://2img.net/i/fa/empty.gif"]').closest('tr').addClass('newpost');
$('img[src="http://2img.net/i/fa/empty.gif"]').closest('tr').addClass('newpost');
});
the problem is it not only colors the new post cells but it also colors the legend for the post icons
is there a way to fix this besides removing the legend
Re: coloring new msg cells
Could you post a screenshot?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: coloring new msg cells
Hello _Twisted_Mods_,
Go to Administration Panel > Display > Templates > General > index_body
Find :
Replace by :
Save and publish.
Then add this rule to your stylesheet :
Display > Colors > CSS stylesheet
Go to Administration Panel > Display > Templates > General > index_body
Find :
- Code:
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td></td>
<td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<!-- END switch_legend -->
Replace by :
- Code:
<!-- BEGIN switch_legend -->
<table id="picture_legend" border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td></td>
<td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<!-- END switch_legend -->
Save and publish.
Then add this rule to your stylesheet :
Display > Colors > CSS stylesheet
- Code:
#picture_legend td { background:none !important }
Similar topics
» translucent cells [HELP]
» Translucent cells
» Transparent Cells
» Forum cells help
» To make the cells translucent
» Translucent cells
» Transparent Cells
» Forum cells help
» To make the cells translucent
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum