Jump to content

How to hide secondary navigation in shopping cart page

Recommended Posts

Hi,

I managed to make 2 languages website using primary and secondary navigation and code injections for each page as following:

For All Pages in Primary / Main Navigation

<style>nav.Header-nav--secondary {

   display: none;

}

  .Mobile-overlay-nav--secondary {

   display: none;

  }

</style>

For all pages in the secondary navigation

<style>nav.Header-nav--primary {

   display: none;

}

  .Mobile-overlay-nav--primary {

   display: none;

  }

</style>

 

works perfectly! But the code does not work for shopping cart page, so I appear to have both navigations/languages in the top left menu (see photos) when clicking on shopping cart. How can i fix it?

Screenshot 2021-02-04 at 09.16.15.png

Screenshot 2021-02-04 at 09.15.52.png

Link to comment
  • Replies 1
  • Views 442
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.