show + or something that have a sublink in menu2

Cazz

Hi again
Did find this
https://forum.websitebaker.org/index.php/topic,30158.msg210354.html#msg210354

and did use this code

[a][if(class==menu-expand){ ▼ }][menu_title]</a>
Now it looks better but I wish submenu move a little to the right but I maybe fix that too :)

Cazz

a little update

I did find with HTML inspector that class="menu-expand menu-sibling"> is that I need to use.

I did add this to CSS


.menu-sibling {
    content: "+";
    margin-right: 4px;
}


but nothing change in the menu.

Cazz

ahh sorry I mean I have try with show_menu2 (not menu2)
Did even find
https://doc.lepton-cms.org/documentation/sm2/enterprise.html
so I going to try some more.

Luisehahne

Quote from: Cazz on December 16, 2022, 05:05:33 PM
Hmm was a long time ago I did work with menu2.
Have forgot alot but trying to come back to how it all works.
I read a little here and trying now to see if I get it to work
https://help.websitebaker.org/en/designerguide/multiple-menus.php

the function menu2 is obselete, use the show_menu2. A readme with examples are inside the folder show_menu2/Docu

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Cazz

Hmm was a long time ago I did work with menu2.
Have forgot alot but trying to come back to how it all works.
I read a little here and trying now to see if I get it to work
https://help.websitebaker.org/en/designerguide/multiple-menus.php