© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
2 replies
azabla

Why some classes(hover) in extraImgAttributes() don’t work in ImageColumn?

Hey! I’m using Filament v3 and trying to add hover effects via Tailwind.

The bg-gray-200 works, but hover:bg-gray-600 does nothing.

what is the issue and how can I fix It?
code.png
Solution
The class probably doesn’t exist in the theme. If you want to use classes like this you’ll need to create a custom theme and include the file in the TW content to scan or safelist the class so it gets compiled into the theme correctly.
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Tailwind classes don't show in view
FilamentFFilament / ❓┊help
2y ago
Don't work properly in deploy
FilamentFFilament / ❓┊help
3y ago
ImageColumn
FilamentFFilament / ❓┊help
3y ago
renderHook scopes don't work
FilamentFFilament / ❓┊help
3y ago