Tailwind CSS Issue: Styles Visible in Inspector but Not Applied

Hi,

I'm encountering an issue with Tailwind CSS where styles aren't being applied correctly:

The tailwind classes are properly added to elements it shows up properly when I inspect it, but the styles are not actually affecting the text and images.

Any ideas?

Thanks

Charles


Hi Charles,

Welcome to the community :slight_smile:

Is this happening on a local server, or on a deployed project? Also, is this happening on your entire project or just on a specific page, element, or the likes?

Hi Ezekiel,

Local server, and so far on my hero title and image. I havent tried anywhere else on my project.

Thanks

Thanks for the info!

This could be a couple of different things. Can you confirm that you've followed all the steps to install Tailwind as per their documentation here, including the configuration steps: Install Tailwind CSS with Next.js - Tailwind CSS?