Tailwind sometimes not applying styles to Wordpress project

596 Views Asked by At

I'm facing an issue with tailwindcss on my wordpress project. I made all the configuration and sometimes tailwind is applying styles but when i try it next day it wont work. Basically Tailwind is compiling their classes to my output.css file but then wordpress does not recognize the classes in the front. Note that this happens some times.

I'm showing my config there:Tailwind Config.Tailwind config in functions.php:Tailwind script in functions.php. And i'm attaching there two example, and as you can see in first screenshot i'm writing tailwind class pl-16 but isnt working: example1.But in my output tailwind already compiled the class.example2

0

There are 0 best solutions below