collapsible bar

How do I make my Filament app's collapsible bar not hide the logo, but only the resources I've already created? I need to remove it from the navigation bar
Solution:
The logo area is part of the sidebar area, not the topbar. Only way to do what you want is to override the page view component. But that is strongly not recommended.
Jump to solution
13 Replies
toeknee
toeknee2mo ago
You can't be default since the logo needs to be hidden to show the menu bar.
MaxwellDan
MaxwellDanOP2mo ago
couldn't i just hide the bar?
toeknee
toeknee2mo ago
What bar? Menu bar?
MaxwellDan
MaxwellDanOP2mo ago
aside bar or navigation bar yes ???
toeknee
toeknee2mo ago
I am not sure what you are wanting tbh. You say not hide the logo but only resources... Can you provide screenshots of what you are looking for?
MaxwellDan
MaxwellDanOP2mo ago
This is what I need to do, so that the menu is the only thing that is hidden and does not affect the navbar by hiding the icon.
No description
MaxwellDan
MaxwellDanOP2mo ago
??
toeknee
toeknee2mo ago
It's not built like that and won't work like that. The arrow is to the right of the logo within the main container. On collapsing the container there is no room for the logo so just the icon shows.
MaxwellDan
MaxwellDanOP2mo ago
Yes I understand, but I only want to collapse the items below, not the navbar logo, it seems I'm not expressing myself well and you don't understand my point. I just want to contract the resources, so to speak, so you understand me. By default it also hides my company logo.
Solution
awcodes
awcodes2mo ago
The logo area is part of the sidebar area, not the topbar. Only way to do what you want is to override the page view component. But that is strongly not recommended.
MaxwellDan
MaxwellDanOP2mo ago
I just want the resource menu to be hidden, not the navbar logo 😢
toeknee
toeknee2mo ago
I get what you are saying, you want to change the UI/UX so that when the collapse button is pressed the lower nav disapears. But this isn't how filament is made and is against the UI Standards. You could try writing some custom JS to prevent hiding the logo and just hide the navigation bar. This would be the better way without override the views since they can change.
MaxwellDan
MaxwellDanOP2mo ago
I understand, I will try to do it with javascript, thank you very much for your magnificent attention, have a nice day

Did you find this page helpful?