system: piwigo 15.3., theme: bootstrap darkroom
on every gallery-side, there is a menu, top-right, with several options. on desktop-devices it looks like this:
on mobile-devices it transforms into a hamburger-menu:
log story short: i want to get rid of them. complete! at least the one for mobile-mode. better both. i`ve tried several things, none of them worked the way i want.
thanks in advance, have a nice day
Offline
This works for me:
Install (if you haven't already) LocalFiles plugin.
Go to LocalFiles plugin, CSS tab. You can add CSS rules depending on the theme in use (there is a dropdown menu to choose the theme you are using).
In the text editor add this:
#secondary-navbar{display:none !important;}
This is bet
and click on Save. This removes it.
Klaus
Last edited by OHappyDay (2025-02-18 11:32:50)
Offline
Hi klaus.
thanks, but this doesn`t work as i wish. I`ve already been at this point.
It removes the menu-options and content, but the (burger)menu-icon is still there. And that`s what i want to get rid of. any ideas?
I asssume the object is the "button.navbar-toggler" for the secondary-navbar.
Last edited by Leopold Stotch (2025-02-18 17:42:15)
Offline
Hi,
I added additionally this to the LocalFiles editor:
button.navbar-toggler {display:none !important;}
On my PC the menu disappears.
On my mobile device the hamburger menu disappears also (after switching the mobile theme to the standard menu which is the Bootstrap Darkroom theme).
Klaus
Offline
Hi,
yes, correct! BUT: this switch also deaktivates the primary hamburger menu - which i want to keep.
i just want to get rid of the secondary menu.
meanwhile i actually found a solution myself that does exactly what i want.
thanks a lot and have a good day
Offline
Leopold Stotch wrote:
anwhile i actually found a solution myself that does exactly what i want.
I have the same problem, what is your magic solution?
Thanks!
Offline