<xf:if is="$resource.isExternalPurchasable()">
<span class="label label--primary label--smallest bigger--price">{$resource.price|currency($resource.currency)}</span>
</xf:if>
extra.less
:.bigger-price {
font-size: 120%;
}
<span><span>label label--primary label--smallest</span></span>
<xf:if is="$resource.isExternalPurchasable()">
<span class="label label--primary label--smallest bigger-price">{$resource.price|currency($resource.currency)}</span>
</xf:if>
Maybe that.btw I use the marketplace addon
That worked haha, thanks!You can try this:
But i don't know if this class is particular to resource prices or used elsewhere...Less:.label--smallest { font-size: 120%; }
But i don't know if this class is particular to resource prices or used elsewhere...
[data-template="xfrm_category_view"],
[data-template="xfrm_overview"] {
.label--smallest {
font-size: 120%;
}
}
Just that? Do I also edit something hereWhat about adding this to extra-less:
Less:[data-template="xfrm_overview"] .structItem-title .label { font-size: 14px; }
No.Do I also edit something here
<span class="label label--primary label--smallest">{$resource.price|currency($resource.currency)}</span>
The category where I'm testing the paid resource on is private sadlyPlausible.
Any way to see it live?
We use essential cookies to make this site work, and optional cookies to enhance your experience.