© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
12 replies
Cushty

Widgets columns not taking effect

I have the column set on the new dashboard page to 3, but nothing I do makes the 3 widgets stay on the same line.

<?php

namespace App\Filament\Pages;

class Dashboard extends \Filament\Pages\Dashboard
{
    
    public function getColumns(): int | string | array
    {
        return [
            'default' => 3,
            'xl' => 3,
        ];
    }


}
<?php

namespace App\Filament\Pages;

class Dashboard extends \Filament\Pages\Dashboard
{
    
    public function getColumns(): int | string | array
    {
        return [
            'default' => 3,
            'xl' => 3,
        ];
    }


}


<?php

namespace App\Filament\Widgets;

use Filament\Widgets\Widget;

class StripeDirectorySubscription extends Widget
{

    protected int | string | array $columnSpan = 1;
    protected static string $view = 'filament.widgets.stripe-directory-subscription';
}
<?php

namespace App\Filament\Widgets;

use Filament\Widgets\Widget;

class StripeDirectorySubscription extends Widget
{

    protected int | string | array $columnSpan = 1;
    protected static string $view = 'filament.widgets.stripe-directory-subscription';
}


Hope you can help.
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

->collapsedSidebarWidth() not taking effect
FilamentFFilament / ❓┊help
7mo ago
columns() not having any effect
FilamentFFilament / ❓┊help
3y ago
Stats widgets in rows of 4 columns
FilamentFFilament / ❓┊help
3y ago
How to display 2 columns widgets on mobile?
FilamentFFilament / ❓┊help
2y ago