Amelielle Posted June 8, 2021 Share Posted June 8, 2021 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
paul2009 Posted June 8, 2021 Share Posted June 8, 2021 (edited) 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 June 8, 2021 by paul2009 Amelielle 1 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Amelielle Posted June 8, 2021 Author Share Posted June 8, 2021 Thank you, but I don't know what to code next... so my navigation is now hidden. 🙂 You have an answer to this problem too? Link to comment
paul2009 Posted June 8, 2021 Share Posted June 8, 2021 (edited) 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 June 8, 2021 by paul2009 Amelielle 1 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Parker_SQSP Posted August 4, 2022 Share Posted August 4, 2022 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment