Make Filament table Headers sticky using CSS
By: Prageeth Peiris
- Published: 25 Oct 2024 Updated: 08 Aug 2026
Add this css to your theme.css file
1div.fi-ta-content{
2 @apply h-screen;
3}
4
5
6table.fi-ta-table th{
7 @apply sticky top-0 bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-200 dark:border-gray-700;
8}
Related Tricks:
Add tooltip to table header column macro
Make Filament table Headers sticky using CSS
Sticky Table Row Actions
how to make actions sticky in tables when you have a lot of columns
Quick Filter Above the Tables
Add a Quick links to activate table filter on FilamentPHP table
Demonstration of using a resource for multiple typical models
how to use a resource with multiple models