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
toeknee3w ago
You can't be default since the logo needs to be hidden to show the menu bar.
MaxwellDan
MaxwellDanOP3w ago
couldn't i just hide the bar?
toeknee
toeknee3w ago
What bar? Menu bar?
MaxwellDan
MaxwellDanOP3w ago
aside bar or navigation bar yes ???
toeknee
toeknee3w 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
MaxwellDanOP3w 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
MaxwellDanOP3w ago
??
toeknee
toeknee3w 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
MaxwellDanOP3w 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
awcodes3w 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
MaxwellDanOP3w ago
I just want the resource menu to be hidden, not the navbar logo 😢
toeknee
toeknee3w 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
MaxwellDanOP2w 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?