cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.3 3rd level menu items on mobile devices using Porto theme

Magento 2.4.3 3rd level menu items on mobile devices using Porto theme

The appearance of the menu on mobile devices in Magento 2.4.3 using Porto theme is :

qPJci.jpg

with the 3rd level menu expanded by default.

Is there a way to make the 3rd level menu collapsed by default? something like this:

UePJV.jpg

1 REPLY 1

Re: Magento 2.4.3 3rd level menu items on mobile devices using Porto theme

Hello @alsayyedcoe4e3 

 

  • Open topmenu.phtml file (path: app/design/frontend/Smartwave/porto/Smartwave_Megamenu/templates/topmenu.phtml)
  • Please search for the following code:
    "expanded":true
  • Replace it with the following:
    "expanded":false
  • Please run the following commands:
    • php bin/magento s:s:d -f
    • php bin/magento c:f

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9