louis1996 Posted October 7, 2021 Share Posted October 7, 2021 Site URL: https://www.warners-stores.co.uk I have a folder in my nav bar that displays the stores for a brand I'm working with. On desktop you can click on the name of the folder and it takes you to the first page in the folder, but also hides the first page when you hover over the folder. However on mobile this obviously doesn't work as you can't hover. My question is; how can I hide the first page in the folder on mobile only, and leave the desktop version working as it is. Thanks in advance for your help! The site is: www.warners-stores.co.uk And the functionality is under the stores tab. Link to comment
Beyondspace Posted October 7, 2021 Share Posted October 7, 2021 (edited) 2 hours ago, louis1996 said: Site URL: https://www.warners-stores.co.uk I have a folder in my nav bar that displays the stores for a brand I'm working with. On desktop you can click on the name of the folder and it takes you to the first page in the folder, but also hides the first page when you hover over the folder. However on mobile this obviously doesn't work as you can't hover. My question is; how can I hide the first page in the folder on mobile only, and leave the desktop version working as it is. Thanks in advance for your help! The site is: www.warners-stores.co.uk And the functionality is under the stores tab. You can add to Home > Design > Custom Css @media only screen and (max-width: 800px) { /*Hide All in Mobile*/ [data-folder] .header-menu-nav-item:nth-child(2) { display: none; } } .header-nav-list .header-nav-folder-content div.header-nav-folder-item:first-child { /*Show all in desktop*/ display: block; } Support me by pressing 👍 if this useful for you Edited October 7, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) 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
Beyondspace Posted October 7, 2021 Share Posted October 7, 2021 Desktop Mobile: tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) 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
louis1996 Posted October 7, 2021 Author Share Posted October 7, 2021 1 hour ago, bangank36 said: You can add to Home > Design > Custom Css @media only screen and (max-width: 800px) { /*Hide All in Mobile*/ [data-folder] .header-menu-nav-item:nth-child(2) { display: none; } } .header-nav-list .header-nav-folder-content div.header-nav-folder-item:first-child { /*Show all in desktop*/ display: block; } Support me by pressing 👍 if this useful for you @bangank36 That's brilliant, thank you so much for your help! tuanphan and Beyondspace 2 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