Archived topic
Custom SVG not display in H (generateblocks)
3 replies · Started by Samuel on August 4, 2021
Hi there,
Is this common issue that a custom svg (made with illustrator) is not displaying well without forcing it by CSS ?
I'm using it in a generate blocks Heading element and inspecting code I saw that there was a display : none applied to class .st0
I forced it to be diplayed, but it's weird behaviour there no ?
Thanks for your help
PS : this is the yellow "heart/brain" SVG icon above heading "La sophrologie" you'll see in the middle of the page shared in private information.
Hi there,
this article explains how to save SVGs in Illustrator without the inline styles:
https://www.seancdavis.com/blog/inline-style-attributes-svg-elements/
That's it !
Thanks a lot
Glad to be of help