Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Is there a way I can reduce the number of characters within a text block when displaying on mobile devices?


Question

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 post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

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

2 answers to this question

Recommended Posts

  • 0
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

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...