Title: Adding class to and i and span
Last modified: April 5, 2017

---

# Adding class to and i and span

 *  Resolved [willlweb](https://wordpress.org/support/users/willlweb/)
 * (@willlweb)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-class-to-and/)
 * I need to add a class to the `<i>` which i can see currently has the class “_mi_before”.
   How am i able to do that?
 * Also how can i add a class to the `<span>` that holds the link text? (Other than
   using jQuery).
 * Thanks in advance
    -  This topic was modified 9 years, 2 months ago by [willlweb](https://wordpress.org/support/users/willlweb/).

The topic ‘Adding class to and i and span’ is closed to new replies.

 * ![](https://ps.w.org/menu-icons/assets/icon-128x128.png?rev=2526860)
 * [Menu Icons by Themeisle – Add Icons to Navigation Menus](https://wordpress.org/plugins/menu-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/menu-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/menu-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/menu-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menu-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menu-icons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [willlweb](https://wordpress.org/support/users/willlweb/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/adding-class-to-and/)
 * Status: resolved