Join

Add SVGs to MyListing Websites Without a Plugin

  • Guides reflect how I’m currently using the solution for myself and my clients. 
  • If I don’t cover a specific feature, it implies I’m not using it.
  • If I don’t cover a specific setting, it implies the defaults are acceptable or the options are obvious.

By default, MyListing and Elementor don’t allow you to add SVGs, but you can get around that, and I’ll show you how.

This guide will teach you how to easily take advantage of the SVG file format’s benefits (e.g., scalability, SEO friendliness, compact file size).

Upload SVGs Using Elementor

We’ll work with Elementor’s Icon widget for the steps below, but any Elementor widget with an Icon element (Icon, Icon Box, Icon List, etc.) will do.

  1. Edit any post or page with Elementor and drop in the Elementor Icon widget.
  2. Edit the Icon widget.
  3. Hover over the Icon image area and choose ‘Upload SVG.’
  4. Enable Unfiltered File Uploads
  1. Browse to the location of your SVG and select it.
  2. Click ‘Insert Media’.

That’s all there is to it! You can close your page without saving your changes, and your SVG will be in your WordPress Media Library.

Add SVGs to MyListing Taxonomies

For the steps below, I’ll show you how to add SVGs to the Region taxonomies, for example.

  1. WordPress Dashboard > Listings > Regions
  2. Edit any of your Regions
  3. Term Options > Icon Option > Upload Image
  4. Click ‘Add Image’
  5. Click on the desired SVG from your media library and click ‘Select.’
  6. Save Changes.

The steps above can add SVGs to any MyListing taxonomy, such as Categories, Regions, Tags, Custom Taxonomies, etc.

Adjust the Color of Your SVGs

Before SVGs Have Been Uploaded

  1. Edit the SVG file using your preferred text editor application. (Note: I recommend Visual Studio Code (Free) for editing a wide range of file types.)
  2. Find the ‘svg fill=”#xxxx” value.
  3. Adjust the HEX color code as desired.
  4. Save Changes.

After SVGs Have Already Been Uploaded

  1. Using an FTP application like FileZilla or any WordPress ‘File Manager’ plugin, browse to the location where you uploaded your SVGs (ex. /wp-content/uploads/).
  2. Edit the SVG file using your preferred text editor application.
  3. Find the ‘svg fill=”#xxxx” value.
  4. Adjust the HEX color code as desired.
  5. Save Changes.

Video Tutorial

Youtube video