- This topic has 2 replies, 2 voices, and was last updated 3 years, 6 months ago by .
- The topic ‘Reliable Snippet to Use Inline SVG for site logo – as seen on StudioPress.com’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
There's many good reasons to use an inline SVG for the site logo.
But I'm finding it harder than expected to make it work perfectly.
StudioPress.com appears to have a nice implementation of an inline SVG with a fallback (for ie8) to a .png.
If StudioPress reads these posts: could you add share the SVG logo setup/implementation on the Code Snippets on the studiopress site, or here?
Thanks for any help on this.http://localhost
Adding SVG support to WordPress is a little more complex than a snippet. It really has nothing to do with the Genesis Framework either.
I use SVGs on all the sites I support by adding the SVG Support plugin from the WordPress repository. https://wordpress.org/plugins/svg-support/
Thanks for your reply.
You're right - that's the easiest solution.
© 2022 WPEngine, Inc.