WebsiteBaker Support (2.13.x) > General Help & Support

show + or something that have a sublink in menu2

(1/1)

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

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

--- End quote ---

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

Dietmar

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.

Cazz:
a little update

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

I did add this to CSS


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

but nothing change in the menu.

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

and did use this code


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

Navigation

[0] Message Index

Go to full version