Panupat Well-known member May 23, 2011 #1 I created some new templates, say, "test" and "test.css". Once I include the "test" into my page, how can I tell xenforo to load "test.css" ?
I created some new templates, say, "test" and "test.css". Once I include the "test" into my page, how can I tell xenforo to load "test.css" ?
Paul B XenForo moderator Staff member May 23, 2011 #2 Add <xen:require css="test.css" /> to any template which requires it. Upvote 0 Downvote
Panupat Well-known member May 23, 2011 #3 Thanks Brogan, I already have that in my template but it seems like the CSS isn't updating real time? After refreshing for a while, some of the classes showed up. Some are still missing. Is there a template cache I need to clear somewhere? Upvote 0 Downvote
Thanks Brogan, I already have that in my template but it seems like the CSS isn't updating real time? After refreshing for a while, some of the classes showed up. Some are still missing. Is there a template cache I need to clear somewhere?
Paul B XenForo moderator Staff member May 23, 2011 #4 Clearing out the browser cache should sort it. Google Chrome can be terrible for this. Upvote 0 Downvote