Morgain
Well-known member
I have successfully tweaked the Like and Reply links into buttons.
Template = post
The Like button shows as a warm peach - nice and inviting.
Next I get my beloved green for the Reply button and it displays the additional "+ quote" to make it clearer.
(Note if anyone else wants to do this the Like button becomes a text link Unlike once used. I'm OK with that myself.)
They don't position over on the right though - Ive tried float, and margin-right. There's still a big space between these buttons and the right hand edge.
Where's the stuff to push the list of who Likes it over to the right?
Thank you.
Template = post
Rich (BB code):
<xen:hook name="post_public_controls" params="{xen:array 'post={$post}'}">
<xen:if is="{$post.canLike}">
<!-- LIKE, REPLY BUTTONS -->
<a href="{xen:link posts/like, $post}" class="LikeLink item control {xen:if $post.like_date, unlike, like}" data-container="#likes-post-{$post.post_id}"><span></span><span class="LikeLabel"><input type="submit" class="button" style="background-color: #ff9966;" value={xen:if $post.like_date, {xen:phrase unlike}, {xen:phrase like}}></span></a>
</xen:if>
<xen:if is="{$canReply}">
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span><input type="submit" class="button" style="background-color: #99cc99;" value="{xen:phrase reply} + quote"/></a>
</xen:if>
</xen:hook>
</div>
The Like button shows as a warm peach - nice and inviting.
Next I get my beloved green for the Reply button and it displays the additional "+ quote" to make it clearer.
(Note if anyone else wants to do this the Like button becomes a text link Unlike once used. I'm OK with that myself.)
They don't position over on the right though - Ive tried float, and margin-right. There's still a big space between these buttons and the right hand edge.
Where's the stuff to push the list of who Likes it over to the right?
Thank you.