Navigation menu start in collapsed state

Solved
Highlighted
Tourist
4 1 0

Hi All,

I have found several pages here on the forum but none of the solutions is working for me. Each time I open my shop page from a customer view, one of the menu's is expanded. I have tried adding codes the Theme.cscc.liquid but it does not work. I would like to have this collapsed as other menu's that I have.

Can anyone help out?

Thanks

 

0 Likes
Highlighted
Tourist
4 1 0

I am on Simple Theme and here is a screenshot of the item I want to have in collapsed stateNavigation menu not collapsed.png

0 Likes
Highlighted
Tourist
4 1 0

I really would like to have this solved before we open the shop. I think its just a short code in either the theme.scss.liquid or in the sidebar.liquid but the things i found on this forum didnt work.

Thanks

0 Likes
Highlighted
Excursionist
11 1 1

Hello @TokoRyan 

Please share your store url (if it's protected then share details via a private message) and theme you are using so that I can check.

Regards
Raj

Shopify Development & Support
Problem Solved? Accept ✔️ and Like ? the solution.
Need Code Changes? Send me a direct message.
0 Likes
Highlighted
Tourist
4 1 0

This is an accepted solution.

Hi All,

I Finally figured it out.  On another page on this forum I found the following piece of code:

 

#Collapsible-2 {
display: Block!important;
}

After several attempts i changed it to the following code:

#Collapsible-5{
display: none;
}

 

Apparently leaving out the !important was the key.

Hope others on the Simple Theme can benefit from this solution.

0 Likes