XF 1.5 Css ordering in xen:require tag

sajal

Active member
I'm using <xen:require css="custom.css" /> to add my custom CSS. But, it seems that xenforo CSS is overriding it.

Is there any "order" attribute for xen:require tag so that my css is loaded at the end?
 
CSS is loaded in alphabetical order for caching consistency. You should use a higher specificity in your custom CSS so that order isn't relevant or re-name your file so it's loaded later.
 
Back
Top Bottom