Filament V4 Custom footer
I just migrated a filament v3 project to filament v4. The migration process was very smooth and completed without any hiccups. The only thing that is broken is the custom footer I had implemented. I have attached the footer here. Below is my Panel Service Provider.
My
vite.config.js
Solution:Jump to solution
Don’t import tailwind.css it’s already being imported by the filament theme. Just make sure the view for your custom footer is in a
@source
directive in the css file and rebuild the assets.9 Replies
And How about resources/css/filament/app/theme.css ?
Did you update that for tailwindcss 4?
Yes that has already been updated with tailwindcss 4. Everything else I'm the app just works.
What is the content of the theme.css
Hey @awcodes, the content of theme.css is below:
@import '../../../../vendor/filament/filament/resources/css/theme.css';
@source '../../../../app/Filament/**/*';
@source '../../../../resources/views/filament/**/*';
@import 'tailwindcss';
@Sadegh Zabeh I updated my
theme.css
to include @import 'tailwindcss'
but this breaks my entire filament page. Ex. shown in screenshot.

What is the content of the theme.css
And
vite.config.js
Solution
Don’t import tailwind.css it’s already being imported by the filament theme. Just make sure the view for your custom footer is in a
@source
directive in the css file and rebuild the assets.This solved the issue. Thanks a lot for the help @awcodes and @Sadegh Zabeh 🙂