Hello Guys
Any ideas what issue it could be?
In my Header Template in Bricksbuilder the SVG is display correctly
In Home Site the SVG change color as well as on frontend.
Note: i have no general settings for SVG Elements active. Colors automatically got overwrited with a class called (.cls-4).
You can use chrome dev tools to inspect the SVG on the front end, it will tell you where the class and the styles that go with it are coming from. It shows you the file name on the right of the CSS rule.
Hi David,
It is not a Bricks bug. The problem is that two SVGs (the logo and “Offizieller Google Fotograf”) share the same classes (e.g., .cls-4) with different styles (one without fill color, one with fill color white). So if you use these two SVGs together on, e.g., the home page, one class overwrites the other.
Hello @timmse
thank you so much that you solved the problem!
this happenend as i saved the SVG in Illustrator, it added some classes in the SVG File.
I saved the file again with another App (Vectornator) , now it shows normal
Well usually Illustrator ads classes named “Cls1, Cls2, Cls3, etc” to all svgs so if you have more than one svg in the same page the classes override each other since they are the same. What I do is open the SVG saved by Illustrator in Notepad use find and replace / find “cls” replace with"xcls" (x= whatever you want to use to differentiate). Works perfect every time.