Replies: 1 comment 8 replies
-
Hi Darcy, Very happy to hear _tw worked well for you on the last site you built! The prose styles are coming from Tailwind Typography. If your concern is just removing the CSS, you can remove these lines from presets: [
// Manage Tailwind Typography's configuration in a separate file.
require('./tailwind-typography.config.js'),
], // Add Tailwind Typography.
require('@tailwindcss/typography'), You can also delete the Then, if you don't want the extra classes being added to your frontend HTML, you can set the value of Finally, you can also comment out this line in add_action( 'enqueue_block_assets', 'evkeeza_enqueue_typography_script' ); (You could also delete the entire |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Fantastic theme by the way, made building my last site a pleasure!
I was wondering whats the best way to remove all Tailwind Prose styles as its playing havoc visually with my ACF blocks in the Editor.
Classes like the one below are just not needed.
.prose :where(h2):not(:where([class~="not-prose"] *))
Beta Was this translation helpful? Give feedback.
All reactions