V4 & WordPress - Hover utility is not working but everything else is with a custom @theme #17545
-
I have a WP theme and I have this within my app.css which seems to work for everything TW, apart from the hover: utility is not being generated/applied on the frontend: @import "tailwindcss/preflight.css"; @theme {...} I'm also using TW4 as postcss, if that helps. Any help greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The @custom-variant hover (&:hover); |
Beta Was this translation helpful? Give feedback.
-
I have managed to find my solution... I have gulp-clean-css within my pipeline... simply removing that has fixed the issue. So I have just added the default TW4 installation for POSTCSS and all good - just in case anyone has this issue in the future. |
Beta Was this translation helpful? Give feedback.
I have managed to find my solution... I have gulp-clean-css within my pipeline... simply removing that has fixed the issue.
So I have just added the default TW4 installation for POSTCSS and all good - just in case anyone has this issue in the future.