I have a lovely random colored logo on the top left of my site hoek.dk. The problem was that this svg could not be a link without breaking the color script. I tried to fix it several ways but finally found a ‘hack’ way to achieve what I wanted. Just draw a big rectangle on top and make it transparent. This is just before the closing svg tag.