You can also try to use an SVG sanitization plugin. If that issue occurs that means there might an issue with the SVG while you have exported. It happened to me when I used radial gradient in my SVG.
If that’s occurring, the only I have followed for my directional gradient (it’s not supported by SVG though)
Export the logo or SVG where there is a gradient in @4x or @2x
Then again import the exported image and replace that SVG part with the image. And then export as SVG. By doing that the quality doesn’t look bad in the header.
The icon in my logo was actually made with this technique.
Hi Michael,
Welcome to the forum, and thanks for reaching out!
There’s actually nothing wrong with the SVG - the problem is the classes within your SVGs, which share the same class names (e.g. .st0) , but different styles, so they override each other.