This article has been archived.
The Utility Pro theme is no longer available and some of this content may not be applicable today.
This post will show how to add an SVG (Scalable Vector Graphics) logo to the Utility Pro theme.
In my opinion, the best approach for creating a logo that will look sharp and crisp on any device is to use an SVG (Scalable Vector Graphics) file. A SVG file is a vector file in XML format. The major advantage of SVG graphics is that they do not lose any image quality if they are zoomed or resized.
Heads up: There are a few affiliate links here, so thanks in advance if you use them.
Using an SVG file means it will always look sharp on any device, even as display densities increase over time. It’s more future proof. All of the major browsers support SVG files. That said, I need to mention that IE 8 does not support SVG according to http://caniuse.com/#feat=svg-css .
Adding a SVG Logo to Utility Pro (Standard version)
Here are the steps for adding an SVG logo to the standard version of Utility Pro which includes modifying your style.css
. In my SVG sample of the Utility Pro theme, the logo size is 300px by 60px.
- configure Utility Pro to use an image vs dynamic text
- create an SVG version of the logo
- modify the
style.css
to serve the SVG logo.
Configure Utility Pro to use an image vs. dynamic text
By default, the Utility Pro theme uses Dynamic Text in place of a logo, which is created from your Site Title and Tagline. You’ll need to switch that to Image from Dynamic Text.

If you want to use an Image logo instead of Dynamic Text, here’s how to get started:
Go to the Appearance > Customize
Click on Site Identity
Select Image logo from the drop down
Save your changes
Changing this setting will automatically “include” the file logo.png
, that ships with the theme. That file is stored in the images folder inside your Utility Pro theme folder.
Create a SVG Logo file
If you don’t have an SVG file, you can create one from your original artwork in a vector based application like Adobe Illustrator or Affinity Designer (my personal favorite – but only available for Mac). I created mine sized at 300px by 60px which is the size I want the logo displayed. In my SVG file it sets the width and height to 100% width="100%" height="100%"
and viewBox
to viewBox="0 0 300 60"
. This is how Affinity Designer exported the SVG for me, and if you want to dig in and understand more about how it works – I included a resource link at the end of this post on the SVG coordinate system.
Upload the file to the images folder inside your Utility Pro theme folder. In my example I named the file logo.svg
Update the style sheet
This next step requires making a change to your style.css
file. Make sure you make a backup of it first, and know how to access your site via FTP or through your web host file manager.
I replaced this code in my style.css
.
With this code:
That’s all you need to do if you are using the standard version of Utility Pro. If you want to make this change in the developer version, this next section covers that.
Adding a SVG Logo to Utility Pro theme (Developer version)
If you are using the developer version of Utility Pro, you’ll need to modify the _header.scss
partial file instead of your style.css
file.
I replaced this code in my _header.scss
partial.
With this code:
This can easily be adapted to any WordPress or Genesis theme that is using Sass.
Recommended Courses to get up to speed with Sass
I’d be lost without my subscriptions to Lynda.com (Free trial) and Treehouse.com (Free trial). Here are some recommended courses I’ve taken recently to improve my workflow and get comfortable using these tools.
Sass: Guil Hernandez at Treehouse.com CSS to Sass.
Sass and Grunt: WordPress: Developing with Sass and Grunt.js with Morten Rand-Hendriksen
Wrapping Up
As I mentioned above, using an SVG is the preferred way to add a logo to your WordPress site.
Resources:
Wikipedia.org: Scalable Vector Graphics