I’ve created a custom element, but when I use it in a query_loop, the layout settings are not being applied. Whenever I disable query_loop it works again.
The only way to style the element is by adding root { …css goes here… } on the style > css tab.
If I place another element - like a Heading - in the query_loop container I don’t see this issue.
I’ve been staring at it for quite some time now. I looked at Bricksable plugin code if I missed something, but I can’t find what I’m missing here. Anyone had this issue and/or care to share their solution?