Ibiza
Ibiza
FFilament
Created by Ibiza on 11/15/2024 in #❓┊help
Hide Navigation on specific pages
So I had been trying that and it was throwing a variety of different errors at me. Funny enough I figured it out a few minutes after reading your message. Easiest solution is going into the pages class and adding this into the mount:
public function mount()
{
Filament::getCurrentPanel()->navigation(false)
->topNavigation(false)
->sidebarWidth('0px');
}
public function mount()
{
Filament::getCurrentPanel()->navigation(false)
->topNavigation(false)
->sidebarWidth('0px');
}
4 replies