creedon Posted September 11, 2021 Share Posted September 11, 2021 @ninjahh It may be possible. It would require the use of Javascript and using one of the ip geo-location services. 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
DevonHarris Posted September 6, 2022 Share Posted September 6, 2022 hey @bangank36 and @creedon I'm hvaing trouble removing one section of the footer on the home page. Hoping you could take a look at it for me? www.tlastmarks.com password is: 20222023 Also if anyone can figure out this weird footer situation that's happening in portrait ipad mode? You'll have to view it (navy blue section and section above it) while reducing your browser size... I've combed through my CSS and can't find the culprit 😞 Link to comment
creedon Posted September 6, 2022 Share Posted September 6, 2022 9 minutes ago, DevonHarris said: I'm hvaing trouble removing one section of the footer on the home page. Which section? Can you provide a picture? The usual way to hide a section on the homepage would be a selector that starts with .homepage. So you'd end up with something like the following. .homepage [data-section-id="62f6c16b4066023472778cdf"] { display : none; } Quote Also if anyone can figure out this weird footer situation that's happening in portrait ipad mode? The issue is probably related to overlapping min/max width values. When you are switching sections on and off the values should not overlap. The settings you have are saying at 780 px hide both sections at the same time. @media screen and (min-width: 780px) { section[data-section-id="62f2662e33a00e73740c9d72"] { display:none !important } } @media screen and (max-width: 780px) { section[data-section-id="62f1d59773499aedccb5d1c9"] { display:none !important } } Let us know how it goes. 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
AJ7 Posted November 1, 2023 Share Posted November 1, 2023 @Beyondspace just wanted to say THANK YOU 🙏🙏🙏. I am used to LeadPages and there it is soooo easy to hide sections. But while I do love SquareSpace, I had a scenario where I needed to hide or show sections, and your code is so perfect. I love how it makes it semi-transparent in edit mode. Unlike other code snippets I found which hide it completely. Beyondspace 1 Link to comment
MoeTalks Posted February 28 Share Posted February 28 (edited) Wow, thank you for this. This is great when the site is live and I have to do live updates, I can still work on it but no one sees it and then just remove the code. Awesome Edited February 28 by MoeCritiques Beyondspace 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