Title: Incompatible with Tailwind CSS
Last modified: April 21, 2023

---

# Incompatible with Tailwind CSS

 *  Resolved [sammibajrami](https://wordpress.org/support/users/sammibajrami/)
 * (@sammibajrami)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/)
 * Hi David!
 * I’m currently building a theme where I’m using Tailwind CSS for a site where 
   I’m hoping to use this plugin. The trouble is that the plugin adds a css file(
   wcsvfs-public.min.css) that has a **.hidden** selector, which is the same selector
   that Tailwind uses to hide an element. The difference is that the one from the
   plugin adds **!important** after the **display: none**. This causes the layout
   to break in several places.
 * I may be the only person who has this issue, but is there any chance that you
   could rename that class to something else?
 * I could just change it locally of course but I want to be able to update the 
   plugin in the future.
 * Thank you in advance!

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

 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/#post-16675307)
 * Hello,
 * Thanks for reaching out. That is the Swatches file. I will have a look at it.
   
   If you are not using Swatches of my plugin than the file should not get loaded.
 * Cheers,
 *  Thread Starter [sammibajrami](https://wordpress.org/support/users/sammibajrami/)
 * (@sammibajrami)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/#post-16713124)
 * Hi, thank you for getting back to me!
 * That is correct, the problem goes away if I disable swatches.
 * Is there a public repository for this plugin? I’d be happy to fix the issue myself!
 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/#post-16713151)
 * Hi,
 * I already fixed it. My next release will have the fix. 🙂
 * If you have the time I would really appreciate a review on the plugin.
 * Cheers,
 *  Thread Starter [sammibajrami](https://wordpress.org/support/users/sammibajrami/)
 * (@sammibajrami)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/#post-16713196)
 * Oh, fantastic, thank you very much!
 * A review has been submitted!

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

The topic ‘Incompatible with Tailwind CSS’ is closed to new replies.

 * ![](https://ps.w.org/smart-variations-images/assets/icon-256x256.png?rev=2094600)
 * [Smart Variations Images & Swatches for WooCommerce](https://wordpress.org/plugins/smart-variations-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-variations-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-variations-images/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-variations-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-variations-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-variations-images/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [sammibajrami](https://wordpress.org/support/users/sammibajrami/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/incompatible-with-tailwind-css/#post-16713196)
 * Status: resolved