Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Triminio21's avatar

How can I hide the heading and title in filament3 without deleting the breadcrum and the create button?

I have to pass the title of the current resource to the navbar and I don't know how to do it, I try the following way:

protected static ?string $title = '';

or like this

protected static ?string $title = 'null;

But doing so removes the button and the breadcrum, which I don't want to happen.

1 like
2 replies
ztioge's avatar

If you haven't published the Filament views, you can do so with the following command: - php artisan vendor:publish --tag=filament-views

Navigate to resources/views/vendor/filament/resources/ and specific resource file, and maybe you have something like this:

'{{ $this->getTitle() }}'

Try to comment it like this:

{{-- {{ $this->getTitle() }} --}}

Triminio21's avatar

@ztioge I don't see that folder, exactly the vendor folder, but I want to do this for all the files, since this is necessary because of the space they take, and because I want to place that title in the navbar instead of in the view. Is there any way to change the title position for all files or views in Filament?

Please or to participate in this conversation.