© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
12 replies
vitali

Heading and Subheading not displayed

Hi guys, this is my code, I want to customize the page title and add a subtitle:


class CategoryResource extends Resource
{
    protected static ?string $model = Category::class;

    protected static ?string $title = 'Categorie';
    protected static ?string $subheading = 'Tutte le categorie';
    protected static ?string $navigationIcon = 'heroicon-o-tag';
    protected static ?string $navigationGroup = 'Dati';
    protected static ?string $navigationLabel = 'Categorie';
class CategoryResource extends Resource
{
    protected static ?string $model = Category::class;

    protected static ?string $title = 'Categorie';
    protected static ?string $subheading = 'Tutte le categorie';
    protected static ?string $navigationIcon = 'heroicon-o-tag';
    protected static ?string $navigationGroup = 'Dati';
    protected static ?string $navigationLabel = 'Categorie';
Screenshot_2024-01-18_alle_10.25.48.png
Solution
it was:

protected ?string $heading = 'Custom Page Heading';
protected ?string $subheading = 'Custom Page Heading';
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

Refresh Heading and Subheading
FilamentFFilament / ❓┊help
17mo ago
Can I align header actions with the heading and not the entire heading + subheading?
FilamentFFilament / ❓┊help
2y ago
subheading at resource
FilamentFFilament / ❓┊help
3y ago
Label not displayed
FilamentFFilament / ❓┊help
3y ago