Sinned98 Posted October 5, 2023 Share Posted October 5, 2023 (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, 2023 by Sinned98 Link to comment
Ziggy Posted October 5, 2023 Share Posted October 5, 2023 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 Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Simon Posted October 5, 2023 Share Posted October 5, 2023 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, 2023 Solution Share Posted October 5, 2023 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, 2023 Author Share Posted October 6, 2023 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
Naoms Posted April 25 Share Posted April 25 On 10/6/2023 at 10:37 PM, Sinned98 said: Thanks! I found a way around it, just makes my code a bit longer, but it works 😉 Hi, Was following this video to hide footer section in some pages. I was looking to hide the top section of my footer in certain pages. However since 7.0 doesn't have a section id - is there an way to call this section out? Thank you very much! appreciate any help. Very new to website coding! Link to comment
Ziggy Posted April 25 Share Posted April 25 1 hour ago, Naoms said: However since 7.0 doesn't have a section id - is there an way to call this section out? Depending on the template, there are ways to target sections. For example, with Brine family temples, you can use the page URL slug since index pages have sections made up of pages. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Naoms Posted April 26 Share Posted April 26 21 hours ago, Ziggy said: Depending on the template, there are ways to target sections. For example, with Brine family temples, you can use the page URL slug since index pages have sections made up of pages. Thanks! not sure which template this was on but code below worked to hide footer top section on all pages (adding it to CSS)! #footerBlocksTop { display: none; } 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