Jump to content

loraine

Member
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    loraine reacted to paul2009 in Multilingual website with second nav   
    Sure.
    When you've changed the URLs, you can use some JavaScript to show/hide based on these. Here's a link to an article that Brad wrote which covers one way to do this:
    How to setup multi-language content on any Squarespace Template
    Note that his solution isn't written in pure JavaScript so it will require you to include the jQuery library. His article was last updated 16 months ago, so it refers to a version of an older version of jQuery that has known security vulnerabilities. Instead of using 3.4.1 in his step 4, you'll therefore want to use 3.6.0 (March 2021):
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK" crossorigin="anonymous"></script>  
    If this helps you, please click "Like" below  ⬇️
×
×
  • 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.