F
Filament6mo ago
Luiz

How to show brand logo when sidebar is collapsed on desktop?

Is there an away to show the brand logo when the sidebar is collapsed?
No description
14 Replies
Patrick Boivin
Patrick Boivin6mo ago
I think some custom CSS may be the simplest way.
toeknee
toeknee6mo ago
Not out of the box.
Luiz
Luiz6mo ago
Can you guys direct me where I should change ? :3
awcodes
awcodes6mo ago
How would a logo even fit there with the expand icon too?
Luiz
Luiz6mo ago
My first thought was to put them side by side We have two images for the logo. One for the expanded menu and a small one for the collapsed version
awcodes
awcodes6mo ago
Even side by side, they aren’t going to fit. The collapse icon is the same width as the sidebar icons. Idk.
Yuvraj Timalsina
I think it was available in filamentphp v2.
Dennis Koch
Dennis Koch6mo ago
It was but the layout changed and the space is missing now.
toeknee
toeknee6mo ago
I had suggested the arrow icon should reside in the header on the right, which is clickable and the menu icon is the logo. It can be done now with some hacky CSS but it's not ideall
Yuvraj Timalsina
Do we have a quick workaround? 🫡
Dennis Koch
Dennis Koch6mo ago
Not really.
Luiz
Luiz6mo ago
I still looking around this when I have the free time and also trying to find an way to the transition between collasped and expanded going more smooth
w5m
w5m3mo ago
Would an alternative solution be to move the brand logo out of the sidebar (the aside element) and into the topbar div element (after the expand & collapse sidebar buttons in the nav sub-element)?
w5m
w5m3mo ago
GitHub
Proposal: add brandLogoInTopBar() method to Panel component by ...
Description Adding a brandLogoInTopBar() method to the Panel component is proposed, which has the effect of hiding the brand logo in the sidebar and instead showing it in the topbar (after the &quo...
Want results from more Discord servers?
Add your server