© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
pocket.racer

how to center infolist entry?

My image keep appear at the left instead of at the center

my code which you can see I used ->alignCenter() but it doesn't work (alignCenter() wasn't mentioned in the docs, but the docs didn't mention how to center infolist entries either)

ImageEntry::make('page_logo_image')
                                    ->label('')
                                    ->columnSpanFull()
                                    ->alignCenter()
                                    ->defaultImageUrl(url('/images/icons/page-1-logo.png')),
ImageEntry::make('page_logo_image')
                                    ->label('')
                                    ->columnSpanFull()
                                    ->alignCenter()
                                    ->defaultImageUrl(url('/images/icons/page-1-logo.png')),


I plan to have a few other text entries centered too. and some of the left.

I have also tried to remove ->columnSpanFull() but it didn't work, the image still appear at the left
Solution
Not sure, but here's something to try:
    ->extraAttributes(['class' => 'justify-center'])
    ->extraAttributes(['class' => 'justify-center'])
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

Infolist FileUpload entry
FilamentFFilament / ❓┊help
13mo ago
Infolist Custom Entry
FilamentFFilament / ❓┊help
3y ago
List Fileuploads InfoList Entry
FilamentFFilament / ❓┊help
15mo ago
Lazy Loading Infolist Entry?
FilamentFFilament / ❓┊help
2y ago