Allan
Well-known member
Sticky threads with animed image
___________________
This change image original by animed image more visible
Demo: http://xenfrench.com/forum/forums/actualités-xenforo-com.12/
(Image animed: )
By
By
___________________
This change image original by animed image more visible
Demo: http://xenfrench.com/forum/forums/actualités-xenforo-com.12/
(Image animed: )
- In "discussion_list.css" template, change:
Code:
.discussionListItem .iconKey span
{
@property "dicussionListIcon";
margin-left: 3px;
text-indent: -10000em;
float: right;
background-repeat: no-repeat;
width: 16px;
height: 16px;
@property "/dicussionListIcon";
}
.discussionListItem .iconKey .sticky { background-image: url('@imagePath/xenforo/icons/sticky.png'); }
/
Code:
.discussionListItem .iconKey span
{
@property "dicussionListIcon";
margin-left: 3px;
text-indent: -10000em;
float: right;
background-repeat: no-repeat;
width: 54px;
height: 16px;
@property "/dicussionListIcon";
}
.discussionListItem .iconKey .sticky { background-image: url('@imagePath/xenforo/icons/sticky.gif'); }
- In "thread_list_item" template, change:
Code:
<xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
Code:
<xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}"><img src="@imagePath/xenforo/icons/sticky.gif"></span></xen:if>
- Upload this image: sticky.gif in "../styles/default/xenforo/icons/"