SVG - hover not working
Mar 13, 2023
By
Stefan K
I created a simple SVG in Illustrator and added a little CSS (:hover).
The hover effect works when I view the SVG in a browser, but stops working after I import it into a storyline project.
Does anyone know why this is happening?
And if there is someone here that could give me a hint, how to change the fill of #z1 and #t1 when the mouse is moved over #a1 - allthough this has nothing to do with Storyline - that would be awesome :-)
2 Replies
I forgot to attached the storyline-project as well as the SVG code:
Basically imported SVGs are converted to images and tough to manipulate. So you need to copy/paste the SVG from Illustrator ( only works on Windows ) and paste that into Storyline. Then you can ungroup the .emf and the shapes you can target with code.