I'm having trouble changing the color of a specific part within an svg image (created in Inkscape). I believe CSS is the solution, but I can't seem to select the id from the particular SVG file. The object in the SVG has the id='ToChange' and the HTML tag has id='svgToChange'. My initial thought was that the CSS code would be:
#svgToChange #ToChange :hover {...}
However, this approach isn't working. Any suggestions? Would JavaScript be more suitable for this task?