WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • show + or something that have a sublink in menu2
  • Print
Pages: [1]   Go Down

Author Topic: show + or something that have a sublink in menu2  (Read 6614 times)

Offline Cazz

  • Posts: 93
show + or something that have a sublink in menu2
« 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

Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: show + or something that have a sublink in menu2
« Reply #1 on: December 16, 2022, 06:33:41 PM »
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
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Cazz

  • Posts: 93
Re: show + or something that have a sublink in menu2
« Reply #2 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.
Logged

Offline Cazz

  • Posts: 93
Re: show + or something that have a sublink in menu2
« Reply #3 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.
Logged

Offline Cazz

  • Posts: 93
Re: show + or something that have a sublink in menu2
« Reply #4 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 :)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • show + or something that have a sublink in menu2
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2