Hey everyone,
I would like to add a few custom links to my gallery's navbar, including a few dropdown menu options, but unfortunately the Advanced Menu Manager doesn't seem to adapt the the Bootstrap Darkroom theme I'm using (Bootswatch Lux).
This is hard to see in the screenshot, but here's what I am experiencing:
I was wondering if there is another plugin or method to add custom links to the navbar that still tie in to the theme? I do see the mbSpecials and general menu TPL files, but I don't want to mess with any codes without checking first on how to do it correctly.
All the threads I searched a few days ago (about 5-7) didn't pull up any results that seemed effective for me, but it's possible I overlooked a few.
Piwigo 2.10.2
Operating system: Linux
PHP: 7.4.9 (Show info) [2020-12-26 22:12:42]
MySQL: 5.5.5-10.3.26-MariaDB [2020-12-26 16:12:42]
Graphics Library: External ImageMagick 6.9.10-68
Piwigo URL: http://cxhnow.com/gallery
Last edited by ungodlythunder (2020-12-26 23:22:21)
Offline
Hello!
I did it, but I cannot remember exactly how. Here is the result : https://photos.revestou.fr/
The way is to add some css in the css tab of the plugin Local Files Editor, that will override the Bootstrap css. but I tried so many iterative codes and I lost my notes and that was months ago ... I feel stupid. You can try to determine what I did, with my site... I know that this is not a true answer. Below is what I added which could have been my solution.
.nav-link {
display: block;
padding: .5rem 1rem;}
With Bootstrap darkroom, there are sometimes items I cannot modify via LocalFilesEditor, and that I customize in the css box of the template configuration.
Offline
Katryne wrote:
Hello!
I did it, but I cannot remember exactly how. Here is the result : https://photos.revestou.fr/
The way is to add some css in the css tab of the plugin Local Files Editor, that will override the Bootstrap css. but I tried so many iterative codes and I lost my notes and that was months ago ... I feel stupid. You can try to determine what I did, with my site... I know that this is not a true answer. Below is what I added which could have been my solution.
.nav-link {
display: block;
padding: .5rem 1rem;}
With Bootstrap darkroom, there are sometimes items I cannot modify via LocalFilesEditor, and that I customize in the css box of the template configuration.
Thank you for replying!
I figured out that the AMM adds the links as description lists (dd, dt), so now I've got to figure out how to target it so it will display like the other menu items.
Offline
Bootstrap Darkroom 2.4.5 fixes this problem.
Offline