CPharmacyScot Posted May 12, 2021 Share Posted May 12, 2021 I am using an image card wrapper template which looks great on desktop but when we get down to mobile the text content is far too long and stretches the wrapper which makes it a difficult experience for the end user. I wondered if there was a way to target these particular blocks that allowed me to reduce the number of characters contained within the text block so that it doesn't stretch the wrapper. Any help or advice would be greatly appreciated, thank you very much. Link to comment
Beyondspace Posted May 12, 2021 Share Posted May 12, 2021 26 minutes ago, CPharmacyScot said: I am using an image card wrapper template which looks great on desktop but when we get down to mobile the text content is far too long and stretches the wrapper which makes it a difficult experience for the end user. I wondered if there was a way to target these particular blocks that allowed me to reduce the number of characters contained within the text block so that it doesn't stretch the wrapper. Any help or advice would be greatly appreciated, thank you very much. First you need to target the text block id using this https://chrome.google.com/webstore/detail/igjamfnifnkmecjidfbdipieoaeghcff and try some approaching to apply text overflow via css Line Clampin' (Truncating Multiple Line Text) | CSS-Tricks CPharmacyScot 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
CPharmacyScot Posted May 12, 2021 Author Share Posted May 12, 2021 2 minutes ago, bangank36 said: First you need to target the text block id using this https://chrome.google.com/webstore/detail/igjamfnifnkmecjidfbdipieoaeghcff and try some approaching to apply text overflow via css Line Clampin' (Truncating Multiple Line Text) | CSS-Tricks Thank you! That's is really helpful and appreciated. 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