WAIT: Styles stripped from section template when used in a page

I have a section template that contains an accordion (nested) element. This is how the template look on the front end:

If I add a “Template” element to a page, then specify the template from above as the template to use, it appears exactly as it should (see image above) within the editor, but has all styling stripped from it on the front end:

There is no caching on this site (still being developed).

Hey @ainom,

can you share your template? I can’t replicate the issue locally, so probably the best if I try with the same template first.

Also, on the page itself, you have a “Template” element where you selected your template with accordion, right? Just checking, to get this right.

What is your CSS file loading method?

Thanks,
Matej

Hey Matej, I just checked the same page again and it’s perfectly fine now. I swear it wasn’t before (see image above!), and again, there’s no caching (and I cleared the browser cache. and hard-reloaded multiple times). My CSS loading method is “external file”.

Anyway, I guess it’s a false alarm (with a mild sense of distrust…)

Hey @ainom,

well, that’s great to hear. However, I’m not sure what it could cause that one. Maybe the CSS was just generating, and you refreshed in that exact split second? Anyway, if it happens again, please let me know and I’ll keep the topic on WAIT.

Thank you,
Matej