RYooo Posted December 25, 2019 Share Posted December 25, 2019 hi, I think i have asked a wrong question in what i really want for my website before. I have a site in two languages, in English and Chinese. Has anyone figured how to hide one language's links from the other using only CSS(on 7.1)? I have looked at this here but it does not work for 7.1 at all. I tried this Quote .collection-5de6aa50ae38e01033140c54 {#header .nav-wrapper a>:nth-child(n1), #header .nav-wrapper a>:nth-child(n2), #header .nav-wrapper a>:nth-child(n3), #header .nav-wrapper a>:nth-child(n4) {display: none;} } but it does not work at all, what do i have to replace to make them work with 7.1? Thank you so much Link to comment
tuanphan Posted December 25, 2019 Share Posted December 25, 2019 SS 7.1 Navigation uses different class for all items, so the above code won't work. If you share link to english/chinese pages, we can take a look. (I did similar on 4 sites for members on here) 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
RYooo Posted December 25, 2019 Author Share Posted December 25, 2019 here is a set Quote english https://www.oootopia.com/en/news chinese https://www.oootopia.com/ch/news another set Quote english https://www.oootopia.com/en/kai-tak chinese https://www.oootopia.com/ch/kai-tak Quote english https://www.oootopia.com/en/west chinese https://www.oootopia.com/ch/west thank you -would it be easier if i share you the account? I can add you as collaborator to inspect it better since I feel like I messed up the links Link to comment
XavierVice Posted July 30, 2020 Share Posted July 30, 2020 Hi Ryooo, I am facing the same issue with one of my client's websites. From what i can see we are running the same version and template in 7.1 and it looks like you managed to get that multi language navigation to work. Would you mind expanding on the method you used? Link to comment
tuanphan Posted July 31, 2020 Share Posted July 31, 2020 22 hours ago, XavierVice said: Hi Ryooo, I am facing the same issue with one of my client's websites. From what i can see we are running the same version and template in 7.1 and it looks like you managed to get that multi language navigation to work. Would you mind expanding on the method you used? You can use these guide https://www.bradgood.net/articles/multi-language-content-on-any-squarespace-template (Business Plan or higher) https://beaverhero.com/squarespace-2-languages/ (Personal Plan or higher) 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
ReneeBreathe Posted August 4, 2020 Share Posted August 4, 2020 Having a similar issue, I've got it working on desktop but not on mobile. Any ideas to hide nav links in mobile menu? Link to comment
tuanphan Posted August 4, 2020 Share Posted August 4, 2020 1 hour ago, ReneeBreathe said: Having a similar issue, I've got it working on desktop but not on mobile. Any ideas to hide nav links in mobile menu? Which code did you use? Can you share link to your site? We can check easier. 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
ReneeBreathe Posted August 4, 2020 Share Posted August 4, 2020 9 hours ago, tuanphan said: Which code did you use? Can you share link to your site? We can check easier. I actually changed my method to odd/even nth child that I found on your website! haha thanks, much cleaner! https://beaverhero.com/squarespace-2-languages/ Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.