How can I hide menu just from cart page on Minimal theme?

Highlighted
New Member
1 0 1

Hello,

How can I hide menu just from cart page on Minimal theme?

I found the way to hide a collection page for Minimal theme in another post, but I can’t figure out how to modify this for cart page:


Minimal theme layout/theme.liquid

{% if collection.handle == 'COLLECTION_HANDLE' %}
<style>
.site-nav, .mobile-nav-trigger {display: none;}
</style>
{% endif %}
</head>

Highlighted
Shopify Partner
9274 1180 3266

Hello, @Stella7 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Astronaut
934 82 113

@Stella7 

 

cart page uses cart id and classes, using them we can set css to hide menu on cart page, can you share your site link and password if any? you can contact me.

you are welcome to contact me.
My email - suyash.patankar@gmail.com
0 Likes