coloring new msg cells

Go down

Solved coloring new msg cells

Post by _Twisted_Mods_ on October 29th 2014, 2:36 am

ok this is from ange tut

Code:
$(function() {
  $('img[src="http://illiweb.com/fa/empty.gif"]').closest('tr').addClass('newpost');
  $('img[src="http://illiweb.com/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
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: coloring new msg cells

Post by SLGray on October 29th 2014, 5:33 am

Could you post a screenshot?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43498
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: coloring new msg cells

Post by Ange Tuteur on October 29th 2014, 6:13 am

Hello _Twisted_Mods_,

Go to Administration Panel > Display > Templates > General > index_body Edit

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>&nbsp;&nbsp;</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>&nbsp;&nbsp;</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. Add


Then add this rule to your stylesheet :
Display > Colors > CSS stylesheet
Code:
#picture_legend td { background:none !important }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: coloring new msg cells

Post by _Twisted_Mods_ on October 29th 2014, 6:33 am

ty ange ..... solved
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: coloring new msg cells

Post by Ange Tuteur on October 29th 2014, 6:39 am

You're welcome Smile

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum