Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to change SVG fill color with jQuery on hover? Reply To: How to change SVG fill color with jQuery on hover?

#155830
nimmolo
Participant

Vladi, does this only work with inline SVG…

My SVG is called as a background-image in CSS, and I think that means I don’t have access to the ‘path’ DOM element, is that right?

(by the way your example SVG seems not to be there anymore, i’m just guessing at your structure by inspecting element …)