WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: Cazz on December 16, 2022, 05:05:33 PM

Title: show + or something that have a sublink in menu2
Post by: 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

Title: Re: show + or something that have a sublink in menu2
Post by: Luisehahne on December 16, 2022, 06:33:41 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
Title: Re: show + or something that have a sublink in menu2
Post by: Cazz on December 16, 2022, 07:28:14 PM
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.
Title: Re: show + or something that have a sublink in menu2
Post by: Cazz on December 16, 2022, 10:18:40 PM
a little update

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

I did add this to CSS

Code: [Select]

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

but nothing change in the menu.
Title: Re: show + or something that have a sublink in menu2
Post by: Cazz on December 16, 2022, 11:48:45 PM
Hi again
Did find this
https://forum.WebsiteBaker.org/index.php/topic,30158.msg210354.html#msg210354

and did use this code

Code: [Select]
[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 :)