Bagonnektor Posted August 24, 2020 Share Posted August 24, 2020 (edited) Hey, could anyone help me with code injection issue? I'm using Version 7.0– Brine family (Impact template), as a bilingual site. I managed to use the navigation in each language with a page header code injection, which helps me to hide the other language navigation buttons. It was working fine, but I just discovered, that altough I shift from language 1 to language 2, the navigation remains language 1 (on mobile as well). I think the code is ok, because on squarespace it works fine (in editorial mode). Site is here: www.molton.hu I use this code (in case of language 1): <style>nav.Header-nav--secondary { display: none; } .Mobile-overlay-nav--secondary { display: none; } </style> After I refresh browser, the navigation shifts to the correct language. What is the problem? Was there any kind of updates or changes in this template, which can cause this issue? Thanks in advance Daniel Edited August 24, 2020 by Bagonnektor Link to comment
Solution tuanphan Posted August 24, 2020 Solution Share Posted August 24, 2020 Disable Ajax Loading. https://support.squarespace.com/hc/en-us/articles/115000253288-Ajax-loading Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Bagonnektor Posted August 25, 2020 Author Share Posted August 25, 2020 🙏🙏🙏 thank you, working!! Link to comment
Kamaldhiman526 Posted March 24, 2021 Share Posted March 24, 2021 Thank you for this help! This link: https://support.squarespace.com/hc/en-us/articles/115000253288-Ajax-loading is also helpful for me to solve the switching language loading problem. Appreciated! tuanphan 1 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