Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1449 Zobrazení

How can i make top menu direct to a page even if it has sub menus

Avatar
Zrušit
Nejlepší odpověď

Hi,

By default, Odoo doesn’t allow you to do that. It uses data-bs-toggle which toggles on and off for showing the submenus. You can use js and css effect if you want to achieve what you desire.

Please check this link : https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_dropdown_hover

or give this in css

.dropdown:hover>.dropdown-menu {
display: block;
}

Regards

Avatar
Zrušit
Nejlepší odpověď

If you are referring to a navigation menu with dropdown sub-menus, you can usually set the top menu item to link directly to the page of your choice. This is often done by adding a custom link to the top menu item, or by setting the top menu item to link to the page without having a dropdown sub-menu. Consult the documentation of the software you are using to find out how to do this.

Avatar
Zrušit