Jaxel
Well-known member
xf:button
has an icon
field. I thought simply putting the fa icon there, would work... but it doesn't:
Code:
<xf:button href="" class="button--cta rio-resize-medium" icon="video-camera">
{{ phrase('EWRrio_cinema') }}
</xf:button>
I've gotten around this by using:
Code:
<xf:button href="" class="button--cta rio-resize-medium">
<span class="fa fa-video-camera"></span> {{ phrase('EWRrio_cinema') }}
</xf:button>
However, I'm wondering if there is a proper way to use the
icon
property.