Jump to content

Multilingual navigation flashes

Recommended Posts

Site URL: https://coreplast-2.squarespace.com/

Hi, I used the code for multilingual site (version 7.1) from bradgood.net, but unfortunately the navigation shows both language navigation links (english and finnish) in a blink of an eye, when changing the language.

I don't want to present this to my client, so does anybody know how to fix this problem?

https://coreplast-2.squarespace.com/
Password: coreplast

Thank You!

/Heli

Link to comment

This is normal because you are only hiding one of the navs AFTER the page has loaded. You can avoid this happening by hiding the entire nav and then only unveiling it after the page has loaded.

For example, adding something like this to the start of Custom CSS should hide the nav.

.header-nav-list {
  visibility: hidden;
}

Then, when the jQuery code has shown or hidden the correct nav elements, you can add some more styling/code to make it visible again.

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Yes, try adding this to Custom CSS, just below the other CSS that I gave you: 

.header-nav-list .multilanguage {
  visibility: visible;
}

 

If this helps you, please let me know by clicking "Like" below  ⬇️

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
  • 1 year later...

Hi @Amelielle

I'm Parker and I work on the Customer Operations team at Squarespace. I wanted to give you a quick update that we now have an integration with Weglot which would allow you to add a language-switcher button to your site's header without needing to use custom code. 

Here's some more on that: 

https://support.squarespace.com/hc/en-us/articles/205809778-Creating-a-multilingual-site-in-Squarespace

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.