This is a common occurrence when using inline SVGs as they have a tendency to overlay the items outside their container. Luckily, there’s a pretty easy fix we can put in place using some CSS. The code above will make
My SVG isn’t looking right after uploading it
Your first port of call here is the Sanitisation Log that was added in version 1.9.0 of the plugin. You can get to this under Settings > WP SVG > Sanitisation Log. Find the file you uploaded and see if there
Class ‘DOMDocument’ not found
This will happen when a class that the sanitiser relies on is not installed on your server. Unfortunately this isn’t something we can help with but these posts should help point you in the right direction. http://php.net/manual/en/class.domdocument.php https://stackoverflow.com/questions/14395239/class-domdocument-not-found
XML Headers Appearing Inline
If you’ve added a file before activating WP SVG you may still have XML headers in your SVG file. These don’t play so well when inlined into HTML so you can use a function like the below to fix this,