Amaury
Well-known member
Per discussion in my hiding elements thread, I'm going to be commenting out wherever possible rather than using display: none.
I am having problems hiding the likes bar. In the template post, I made the following change:
However, it's still showing:
For reference, I previously used:
Edit: Yeah, I'm an idiot. That has to do with the likes/unlike bar on the controls bar, so my change above did work, just not where I wanted it to. Now to find which template the likes bar comes from.
I am having problems hiding the likes bar. In the template post, I made the following change:
Rich (BB code):
<xen:comment><xen:if is="{$post.canLike}">
<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">{xen:if $post.like_date, {xen:phrase unlike}, {xen:phrase like}}</span></a>
</xen:if></xen:comment>
However, it's still showing:
For reference, I previously used:
Code:
.message .likesSummary {
display: none !important;
}
Edit: Yeah, I'm an idiot. That has to do with the likes/unlike bar on the controls bar, so my change above did work, just not where I wanted it to. Now to find which template the likes bar comes from.
Last edited: