Title: Problem with pseudo-elements
Last modified: August 21, 2016

---

# Problem with pseudo-elements

 *  Resolved [benedetti](https://wordpress.org/support/users/benedetti/)
 * (@benedetti)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/)
 * First, great plugin, Evan, thank you.
 * I amb able to insert icons in widgets, etc, but no matter what I try, I can’t
   make pseudo-elements work. Something like this example Evan uses in another thread
   doesn’t work for me:
 * .entry-title: before {
    content: “\e0f8”; }
 * I must be missing something. But what?
 * [https://wordpress.org/plugins/svg-vector-icon-plugin/](https://wordpress.org/plugins/svg-vector-icon-plugin/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708802)
 * Hey Bendetti,
 * That should be correct in adding the icons before any elements. Do you have a
   link to the site in question? Maybe I can take a look and try a few things out
   see if its working correctly.
 * Are you seeing anything appear before the element? Or is there just nothing??
 * Also make sure that there is no space after the colon (not sure it makes s difference
   but it may)
 *     ```
       .entry-title:before {
       content: "\e0f8";
       }
       ```
   
 *  Thread Starter [benedetti](https://wordpress.org/support/users/benedetti/)
 * (@benedetti)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708962)
 * Thanks, Evan. I just realized what the problem was: I needed to set the font 
   family property. So I go to your web and copy the following:
 * font-family: ‘wp-svg-plugin-icon-set1’;
 * And it works.
 * Now, Evan, what is the font-family for the imported custom set?
 *  Plugin Author [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708966)
 * I believe the font family for the custom don’t is whatever you have named it 
   in the settings before you created it if you did so on icomoon. You can check
   the CSS file of the custom font family name. Let me know if you need help finding
   it.
 * Evan
 *  Thread Starter [benedetti](https://wordpress.org/support/users/benedetti/)
 * (@benedetti)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708974)
 * Yes, that’s it. Thank you, Evan.
 * One little comment. While in the default icon pack you easily get the unicode
   for the icon you want, this does not happen for the custom pack. Here you need
   to go check the stylesheet. It’s not a lot of work, true. 🙂
 *  Plugin Author [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708987)
 * Glad you were able to resolve that! I know, its a little difficult with the custom
   icon packs.
 * I need to work out a way to display the content unicode more easily for custom
   font packs, so people can easily add them to menus etc.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with pseudo-elements’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/svg-vector-icon-plugin_cd8d3a.svg)
 * [WP SVG Icons](https://wordpress.org/plugins/svg-vector-icon-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svg-vector-icon-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svg-vector-icon-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/svg-vector-icon-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svg-vector-icon-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svg-vector-icon-plugin/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-pseudo-elements/#post-4708987)
 * Status: resolved