Jump to content

How can I edit the link breaks on mobile without it effecting the desktop design

Recommended Posts

  • Replies 3
  • Views 474
  • Created
  • Last Reply
1 hour ago, studio_dazee said:

Site URL: https://studiodazee.squarespace.com/config/design

Hello,

On the homepage on client testimonials the line breaks are really short and the design looks awful but I like how the line breaks on desktop, how can I keep the desktop design but edit the mobile?

 

Do you mean the line-height?

@media only screen and (max-width: 640px) {
        section[data-section-id="5ffc5c543e84173251a3ab1b"] .sqs-block-html p {
          line-height: 2em !important;
        }
}

image.thumb.png.86d6e5ca02f06c7e2a497c1002e1c2fa.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
On 1/15/2021 at 10:31 PM, studio_dazee said:

Yeah I meant the length of the  some of lines ends abruptly  (see below)on mobile and looks very raggedy,

 

Thank you! Do I put this code in advance? or custom CSS?

Screenshot 2021-01-15 at 15.32.04.png

Custom CSS

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.