Jump to content

Checkout page header multilanguage

Recommended Posts

Hello,

I've created my website using 2 languages. The primary navigation is in english and the secondary is in french. I used coding so that the headers of the primary navigation won't show the secondary navigation headers and vice-versa.

My website is almost ready but I'm having a problem with the checkout page. It actually shows all the headers (french and english) instead of one or the other. I've read that we cannot change the text of the checkout page due do security reasons... What about the header?

Is there an option to not show the header in the checkout page? Is there a line of code to add in the others pages so that it modify the results in the checkout page?

Here is the code that I used:

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

   display: none;

 }

  .Mobile-overlay-nav--primary {

   display: none;

  }

</style>

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

   display: none;

 }

  .Mobile-overlay-nav--secondary {

   display: none;

  }

</style>

Link to comment
  • Replies 2
  • Views 371
  • 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.