You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default requirements to use this feature are :
Geotrek Rando 3.19.0
connected to a Geotrek Admin 2.104.0
Since Geotrek Admin 2.104.0, you can define complex menu items.
If a submenu contains fewer than 5 items, or if none of the items in a submenu contains an image, the drop-down menu takes on the appearance of a "small" menu, if not the "large" menu.
Small Menu
It looks just like the old one (i.e. before version 3.19.0) and you shouldn't have to override the style. But you can always use the .custo-menu-* classes to do so.
Large Menu
To manage this complex menu, styles and elements are added to play with customization.
Please note that links in submenus are sorted into 2 groups: links without images (custo-menu-group--without-imgs) and links with images (.custo-menu-group--with-imgs).
Default style
Example to balance photos
If you have more photos to display and want to balance the structure, you can for example add these selectors to your customization/theme/style.css.
The default requirements to use this feature are :
Since Geotrek Admin 2.104.0, you can define complex menu items.
If a submenu contains fewer than 5 items, or if none of the items in a submenu contains an image, the drop-down menu takes on the appearance of a "small" menu, if not the "large" menu.
Small Menu
It looks just like the old one (i.e. before version 3.19.0) and you shouldn't have to override the style. But you can always use the
.custo-menu-*
classes to do so.Large Menu
To manage this complex menu, styles and elements are added to play with customization.
Please note that links in submenus are sorted into 2 groups: links without images (
custo-menu-group--without-imgs
) and links with images (.custo-menu-group--with-imgs
).Default style
Example to balance photos
If you have more photos to display and want to balance the structure, you can for example add these selectors to your
customization/theme/style.css
.Example for submenus taking up the entire width of the screen
There may be other use cases, you can use this ticket as a question/answer.
The text was updated successfully, but these errors were encountered: