If you would like to add an SVG logo to your header area or footer area please follow these steps.
- Install the SVG Support plugin for WordPress (This allows you to upload SVG images via the media library, by default WordPress does not support SVG images).
- Create your SVG logo, ensure that the pixel size image is suitable for the header area. We recommend the SVG logo should be around 30 pixels height by 130 pixels width. If you use Illustrator to create SVG images the Artboard settings should look like this
- Ensure when you export your SVG image using Adobe Illustrator that your export settings look the same as the screenshot below.Note: Illustrator CC added an option to make the SVG file “responsive”. This is slightly misleading: all the option does is remove the width and height attributes from the SVG root element. We recommend disabling this option when creating your SVG image.
- Upload your SVG image either via the Media Library or if you are uploading the image to the header area go to Appearance > Customizer>Site Identity>Logo>Select Logo, once uploaded skip the cropping option and Save Changes.
How Do I Add A SVG Logo To My Footer?
If you wish to add your SVG logo in the “Footer Widgets #1” widget area, create a Text Widget and place the following HTML code into the Text Widget, replace the URL to the SVG image with your own.
<embed src="http://yourdomain.com/footer-logo.svg" type="image/svg+xml" />
The text widget should look like this.