• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Custom bbcode to require a css template

Mr Lucky

Well-known member
Is there a way to make a custom bb code require a specific css template?

Obviously it works to use extra.css, but i want to use a custom css template, e.g. the way I would use

<xen:require css="mytemplate.css" />
In a template

Last edited:


Well-known member
Create custom .css template and adding this into extra.css
<xen:include template="mytemplate" />
Is this what you think?