Announcement

  •  » Extensions
  •  » Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

#1 2020-12-26 23:14:54

ungodlythunder
Member
United States
2020-12-20
22

Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

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:

https://i.ibb.co/9vmQ1g9/vust.png

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

 

#2 2020-12-27 09:01:38

Katryne
Member
2016-12-03
369

Re: Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

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.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#3 2020-12-27 20:23:49

ungodlythunder
Member
United States
2020-12-20
22

Re: Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

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

 

#4 2021-02-24 15:49:41

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

Bootstrap Darkroom 2.4.5 fixes this problem.

Offline

 
  •  » Extensions
  •  » Advanced Menu Manager: Adding custom links using Bootstrap Darkroom?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact