Hi @billygoldfang,
This plugin simply allows SVG uploads into the WordPress media library, it doesn’t do anything to make them work on the front end of the site, this is down to your theme to handle.
That said, if you have access to the CSS, I’d imagine that setting a height and width on the SVG element would make it appear correctly!
Cheers,
Daryll
Though I am obviously a WordPress fan (and also of Safe SVG!), WP themes are notoriously bad for SVG support. Daryll is right. I’m not sure of your CSS comfort, but a cheap CSS trick that you can try:
img[src$=".svg"] { width: 100%; height: auto; }
If the theme author is a wanker (and assuming he/she didn’t *inline style* [the horror] for inappropriate reasons, this might work but may come with consequences. Else move the above to the footer, if supported. YMMV.
img[src$=".svg"] { width: 100% !important; height: auto !important; }
I don’t know why ma.tt still has a war on SVG. Yeah, I’ve heard the argument. It is complete rubbish.
(apologies if WordPress.org.com completely mangles the markup… Ironically, no Preview Post)
^By the way, the above wasn’t necessarily meant to be good advice, but rather a possible easy solution.
EDIT: One that note, I see no img+svg tags in the page markup. 0_o
-
This reply was modified 7 years, 11 months ago by
Daniel Hendricks. Reason: I wanted to