Title: Stop from adding &quot;fa&quot; to all CSS classes
Last modified: August 22, 2016

---

# Stop from adding "fa" to all CSS classes

 *  Resolved [Steven Ma](https://wordpress.org/support/users/stevenlma/)
 * (@stevenlma)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/stop-from-adding-fa-to-all-css-classes/)
 * When using the shortcode, the plugin appends “fa” to the beginning of the class
   if it doesn’t exist. For example, [icon name=”check” class=”lg”] becomes <i class
   =”fa-check fa-lg”> which is great. But it’s a problem for external classes. If
   I add [icon name=”check” class=”text-success”] from Bootstrap, it becomes <i 
   class=”fa-check fa-text-success”> which isn’t helpful, because I need “text-success”
   as the class, not “fa-text-success”. Any ideas on how to fix this?
 * [https://wordpress.org/plugins/better-font-awesome/](https://wordpress.org/plugins/better-font-awesome/)

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

 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/stop-from-adding-fa-to-all-css-classes/#post-5845290)
 * That’s what the `unprefixed_class` attribute is for, as noted in the main description/
   documentation page. Whatever classes you add here won’t be prefixed.
 * I can have the shortcode generator add this attribute on the next version I think,
   so it’s more clear.
 * Thanks!
 *  Thread Starter [Steven Ma](https://wordpress.org/support/users/stevenlma/)
 * (@stevenlma)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/stop-from-adding-fa-to-all-css-classes/#post-5845291)
 * Oh sorry I missed that. Thanks for clarifying

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

The topic ‘Stop from adding "fa" to all CSS classes’ is closed to new replies.

 * ![](https://ps.w.org/better-font-awesome/assets/icon-256x256.png?rev=1186438)
 * [Better Font Awesome](https://wordpress.org/plugins/better-font-awesome/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-font-awesome/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/better-font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-font-awesome/reviews/)

## Tags

 * [classes](https://wordpress.org/support/topic-tag/classes/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 2 replies
 * 2 participants
 * Last reply from: [Steven Ma](https://wordpress.org/support/users/stevenlma/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/stop-from-adding-fa-to-all-css-classes/#post-5845291)
 * Status: resolved