DAWN THEME - How to change mobile footer menu into collapsible menu

Hello,

I’m using Shopify Dawn theme and I would like to change the mobile footer menu into collapsible menu with plus and minus icons.

Link: https://admin.shopify.com/store/454c7e-d8/

Hello @Us1256 ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your section → footer.liquid file and paste the following code at the bottom:


Note: I’m using Dawn theme version 15.0.0 if you are using a different version and code is not working for you please adjust code accordingly.

Thanks

Hi @Us1256

You can add this code to theme.liquid file, before in Online Store > Themes > Edit code, save file and check again.

 
    

Hi @Guleria ,

Thank you for the solution, but unfortunately it didn’t resulted in what I was trying to achieve. Even other parts of the footer were changed into tabs, like the brand information. The solution from @Dan-From-Ryviu helped me solve the problem.

Thank you @Dan-From-Ryviu , exactly what I was looking for.

1 Like

You are very welcome!

Hi,

I tried using your code and it works but it looks like this. There’s a lot of empty space between each menu when its closed.

https://eb00a5-ab.myshopify.com
pass jordan

Yes, I am also facing the Spacing issue.

@Dan-From-Ryviu kindly let me know an alternate code to fix for the spacing issue .

1 Like

Could you share your store link so I can give the code to solve this?

Sure,

https://www.somersville.in/

Pp: 10102024

Please add this code to Custom CSS in ONline Store > Themes > Customize > Theme settings

@media (max-width: 749px) {
    .footer-block__details-content  {
        margin-bottom: 0px !important;
    }
    .footer-block.grid__item {
        margin: 10px 0 !important;
    }
}

Thanks @Dan-From-Ryviu , that worked fine as expected.

1 Like

Happy I could help! Have a great day ahead!

Best,

Dan from Ryviu Support Team.

1 Like

It would work. You can try to add code to check.

1 Like