Sinned98 Posted October 5 Share Posted October 5 (edited) https://loveeveryleaflandscapedesign.com/ I want to create multiple page sections, half for desktop and half for mobile. With code I want to hide depending on what device is being used, but I can't find the data-section-id of these pages. Anyone has an idea what is going on? Edited October 5 by Sinned98 Link to comment
Ziggy Posted October 5 Share Posted October 5 Address you using the chrome extension? https://squarefortytwo.com/squarespace-guides/find-an-id-in-squarespace-71 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
simon Posted October 5 Share Posted October 5 You can use your browser code inspector to find the section you want to work with. You might do something like this using the section data id: //do something with a section section[data-section-id="64f7fc55707fb51d61245c85"] { display:none; } Â Link to comment
Solution creedon Posted October 5 Solution Share Posted October 5 2 hours ago, Sinned98 said: I can't find the data-section-id of these pages. Anyone has an idea what is going on? You are not finding data-section-ids on your site with Squarespace ID Finder because v7.0 sites don't have sections. Sections are a v7.1 feature. Ziggy 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Sinned98 Posted October 6 Author Share Posted October 6 On 10/5/2023 at 4:23 PM, creedon said: You are not finding data-section-ids on your site with Squarespace ID Finder because v7.0 sites don't have sections. Sections are a v7.1 feature. Thanks! I found a way around it, just makes my code a bit longer, but it works 😉 creedon 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