© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
8 replies
raheel3031

Css styling in theme not working

I have installed laravel 12 with latest filament. I have installed a custom theme. I am trying to apply tailwind css but it is not working. When I run npm run build it says that tailwind v4 is installed but filament uses v3. What is the issue?
Solution
@raheel3031 @Alex-Elivate, I just published a guide on how to keep using Tailwind CSS v4 in your Laravel 12 application and simultaneously use Tailwind CSS v3 to compile your Filament stylesheets.

Might want to check it out 😊

https://filamentthemes.com/guides/how-to-use-filament-with-tailwind-css-v4
How to use Filament with Tailwind CSS v4
Laravel 12 ships with version 4 of Tailwind CSS, while Filament v3 only supports version 3. This guide walks you through setting up Tailwind CSS v3 alongside v4.
How to use Filament with Tailwind CSS v4
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

tailwind css classes not working in custom theme
FilamentFFilament / ❓┊help
3y ago
Moving route registration removes theme css styling
FilamentFFilament / ❓┊help
2y ago
url styling with custom theme
FilamentFFilament / ❓┊help
17mo ago
Custom theme - Tailwind class not included in built css
FilamentFFilament / ❓┊help
2y ago