XF 2.3 How to Increase the Size of the Price Label?

VisEntities

Active member
I’m looking to increase the size of the price label on the resources overview page. Does anyone know where I can adjust this in the templates or CSS? Any guidance would be helpful!

1727526469020.webp
 
I would add a class here (xfrm_resource_list_macros, line 88):
HTML:
<xf:if is="$resource.isExternalPurchasable()">
    <span class="label label--primary label--smallest bigger--price">{$resource.price|currency($resource.currency)}</span>
</xf:if>

And in extra.less:
Less:
.bigger-price {
    font-size: 120%;
}
 
Code:
                <xf:if is="$resource.isExternalPurchasable()">
                    <span class="label label--primary label--smallest bigger-price">{$resource.price|currency($resource.currency)}</span>
                </xf:if>

I did that, btw I use the marketplace addon
 
You can try this:
Less:
.label--smallest {
    font-size: 120%;
}
But i don't know if this class is particular to resource prices or used elsewhere...
 
Back
Top Bottom