diegomoura Posted June 17, 2020 Share Posted June 17, 2020 Site URL: https://gc5.squarespace.com Hi Everyone: the website: https://gc5.squarespace.com I used the code below to create the different navigation for the website in English and Portuguese: .header-nav-list>.header-nav-item:nth-child(even) { display: none; } .header-menu-nav-folder-content>.header-menu-nav-item:nth-child(even) { display: none; } The problem is that I can find a solution for the code not to be applied for folders in the mobile version. Any ideas? Link to comment
Beyondspace Posted June 17, 2020 Share Posted June 17, 2020 5 hours ago, diegomoura said: Site URL: https://gc5.squarespace.com Hi Everyone: the website: https://gc5.squarespace.com I used the code below to create the different navigation for the website in English and Portuguese: .header-nav-list>.header-nav-item:nth-child(even) { display: none; } .header-menu-nav-folder-content>.header-menu-nav-item:nth-child(even) { display: none; } The problem is that I can find a solution for the code not to be applied for folders in the mobile version. Any ideas? I saw you already solve it right? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
diegomoura Posted June 17, 2020 Author Share Posted June 17, 2020 Hi: Sorry, I should have been much more specific. The links that are missing, are the ones inside the folder "Sobre GC5" or "About GC5 in the English version. I attached the piece of the code where you can see I'm talking about. Link to comment
Solution Beyondspace Posted June 17, 2020 Solution Share Posted June 17, 2020 1 hour ago, diegomoura said: Hi: Sorry, I should have been much more specific. The links that are missing, are the ones inside the folder "Sobre GC5" or "About GC5 in the English version. I attached the piece of the code where you can see I'm talking about. I believe it is @media screen and (max-width: 800px) { .header-menu-nav-folder:not([data-folder="root"]) .header-menu-nav-folder-content .header-menu-nav-item { display: block !important; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
diegomoura Posted June 17, 2020 Author Share Posted June 17, 2020 Thank you very much! It works perfectly. I was thinking of a way to reference the data-folder, but never used [ ] with CSS before. Going to research it! Link to comment
Beyondspace Posted June 17, 2020 Share Posted June 17, 2020 Just now, diegomoura said: Thank you very much! It works perfectly. I was thinking of a way to reference the data-folder, but never used [ ] with CSS before. Going to research it! Glad it helps, you can mark it solved to help other people Here is reference site of the css3 selector https://www.w3schools.com/cssref/css_selectors.asp diegomoura and Christian_kas 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Christian_kas Posted November 19, 2021 Share Posted November 19, 2021 Hello, I have the same problem on my site. But can't really fix it, with the script that has been shared (maybe I'm not using it well). The website is this one: https://anneclairemeret.com/ I have folder called "Coaching" it lists two pages. The first page is not appearing on Mobile. Any idea on how to solve this? Link to comment
Beyondspace Posted November 20, 2021 Share Posted November 20, 2021 (edited) 1 hour ago, Christian_kas said: Hello, I have the same problem on my site. But can't really fix it, with the script that has been shared (maybe I'm not using it well). The website is this one: https://anneclairemeret.com/ I have folder called "Coaching" it lists two pages. The first page is not appearing on Mobile. Any idea on how to solve this? You can try adding to Home > Design > Custom Css @media screen and (max-width: 1024px) { #header .header-menu-nav-folder:not([data-folder="root"]) .header-menu-nav-item { display: block; } } Let me know how it works on your site Edited November 20, 2021 by bangank36 Christian_kas 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Christian_kas Posted November 20, 2021 Share Posted November 20, 2021 (edited) @bangank36 yea! Finally. Thank you very much! Edited November 20, 2021 by Christian_kas Beyondspace 1 Link to comment
Beyondspace Posted November 20, 2021 Share Posted November 20, 2021 12 minutes ago, Christian_kas said: @bangank36 yea! Finally. Thank you very much! It's good to know, bro! BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! 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