KatieQ Posted September 16, 2022 Share Posted September 16, 2022 Site URL: https://www.designbycaitie.ca I have blog post summary blocks on my main home page and within every blog post. The excerpts are fine on desktop but are too long and unwieldy on mobile. I haven't been able to find any code that disables/removes the excerpt from mobile view only. Does anyone know how to do this? Link to comment
Solution Ziggy Posted September 16, 2022 Solution Share Posted September 16, 2022 Put this into the Custom CSS on your website. This will hide the blog excerpt globally on your website from summary blocks, and can be targeted to specific pages if you need. @media only screen and (max-width:767px) { .sqs-block-summary-v2 .summary-excerpt { display:none; } } KatieQ 1 Please like and upvote if my comments were useful to you. Thanks! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com/ 🔌Ghost Squarespace Plugins (Referral link)☕ Buy me a coffee Link to comment
Web_Solutions Posted September 16, 2022 Share Posted September 16, 2022 (edited) 26 minutes ago, KatieQ said: Site URL: https://www.designbycaitie.ca I have blog post summary blocks on my main home page and within every blog post. The excerpts are fine on desktop but are too long and unwieldy on mobile. I haven't been able to find any code that disables/removes the excerpt from mobile view only. Does anyone know how to do this? Add these code on Custom CSS Section @media only screen and (max-width: 767px) { [data-section-id="62d6fd22883d450f0e483209"] { .summary-excerpt { display: none !important; } } [data-section-id="62857cb8a40e772c6bec8f48"] { .blog-excerpt-wrapper{ display: none !important; } } } Edited September 16, 2022 by Web_Solutions Create_Job 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