Emanon
Well-Known Member
Not that I didn't solve it, because I believe it's a must for mobile browsing. And not that I blame you for ditching the native xenForo feature, because it basically sucks - but might I suggest what I did for this, in your future updates to your styles?
Have the "back to top" function show as an 'up' arrow, in every thread post. I accomplished this as follows:
In template post_macros search for:
And add this code under it.
BUT... There's gotta be a way you can do this in your styles, so that a template edit is not required. Here's the result in Flat Awesome+:
Your customers will thank you.
Have the "back to top" function show as an 'up' arrow, in every thread post. I accomplished this as follows:
In template post_macros search for:
Code:
<ul class="message-attribution-opposite message-attribution-opposite--list">
<xf:if is="$post.isUnread()">
<li><span class="message-newIndicator">{{ phrase('new') }}</span></li>
</xf:if>
And add this code under it.
Code:
<li>
<a href="#top" class="button--scroll" data-xf-click="scroll-to">
<xf:fa icon="fa-arrow-up"/>
</a>
</li>
BUT... There's gotta be a way you can do this in your styles, so that a template edit is not required. Here's the result in Flat Awesome+:
Your customers will thank you.