© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
3 replies
ddoddsr

remove padding on section

I'm trying to remove the padding on a form section useing:
->extraAttributes(['class'=>'no-padding'])
->extraAttributes(['class'=>'no-padding'])

and adding to my theme.css
.no-padding {
    padding: 0rem;
}
.no-padding {
    padding: 0rem;
}



Or remove the "p-6" in the section content
fi-section-content p-6
fi-section-content p-6
.
Solution
->extraAttributes(['class' => 'no-padding'])
->extraAttributes(['class' => 'no-padding'])


.no-padding .fi-section-content {
    @apply !p-0;
}
.no-padding .fi-section-content {
    @apply !p-0;
}
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

Override Section padding
FilamentFFilament / ❓┊help
3y ago
remove borders from section?
FilamentFFilament / ❓┊help
2y ago
Remove padding and border from table in resource
FilamentFFilament / ❓┊help
13mo ago
How do I disable a single section border and padding?
FilamentFFilament / ❓┊help
3y ago