NO BUG: SVG icon in Accordion - safed in a template & imported

Hi there.

Found similar entries here - but not the same case.

Made a template with the Accordion and a SVG icon (collapse / expand). It is all safed well and also loaded, if the template is used inside a template element. But… if the template is imported on an other place at the site, the SVG is missing.

Hi Sascha,
Thanks so much for your report!

Unfortunately, I don’t know how to reproduce the problem. What do you mean by ā€œif the template is imported on another place at the siteā€?

Would you please provide a screencast (jam.dev)? Thank you!

Best regards,
timmse

Hi.

Thx. ItĀ“s pretty easy. Create a template with an accordion element and give it a SVG as icon. Now import the template wherever you like. On my side the SVG icon ā€˜connection’ is lost - I get an ā€˜x’ as icon.

If that not helps, let me know and IĀ“ll do a screencast…

Well, I tried with both accordion elements, and it works for me in both cases :slight_smile: Unfortunately, I still don’t know what you mean by ā€œimport the template.ā€ Is it ā€œinsertā€ via template manager?
If so, make sure ā€œimport imagesā€ is enabled.

If it’s copy and paste, check this setting (Settings Ā» Builder):

Hi.

Sorry - wasting your time! :slight_smile: First project with intense use of templates for a client. We had to change some SVG rights and of course use ā€˜Import Images’ at the templates section. Somehow I thought it is only neccessary for external images - not the ones that are available in the media library.

Thx!

1 Like