Developer forum

Forum » Feature requests » Rapido - megamenu with dropdown for links with 1 level only

Rapido - megamenu with dropdown for links with 1 level only

Lara Arsénio
Reply

Hello, I am trying to convert a custom DW page, Using Rapido 3.0 features only, or at least see what can be done without changing any templates.

One of the breakpoints is the Megamenu because some of the top level menus have only 1 level depth. These stay horizontally aligned, and it should be a dropdown. 

This Is not something that can gracefully be changed through CSS, because of the grid__col[3/4] classes that are in the submenu containers.

To get a dropdown effect for a single-level menu link, the changes need to be done in the BaseMegaMenu.xslt I made the changes to get the desired effect, but it would be great (and more compliant, to have this option in the Mega Menu Configuration settings:  to display menus that have only one level, as a dropdown, instead of horizontal.

I attached my BaseMegaMenu.xslt so you can get the picture.

 

 

 

 

 


Replies

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply
This post has been marked as an answer

Hi Lara

Thank you for the great suggestion. We will add this to our que. 

 

Best regards
Karsten Thuen

Votes for this answer: 1