Jump to content

Prevent Text Block from Wrapping on Mobile

Recommended Posts

  • Replies 11
  • Views 2.8k
  • Created
  • Last Reply

Top Posters In This Topic

What is your site password 

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

@media only screen and (max-width: 500px) {
  #block-yui_3_17_2_2_1604274253628_10153 .sqs-block-content h3 {
  font-size: 7vw
}
#block-yui_3_17_2_2_1604274253628_10153 .sqs-block-content p {
  font-size: 4vw
}
}

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
12 hours ago, bangank36 said:

@media only screen and (max-width: 500px) {
  #block-yui_3_17_2_2_1604274253628_10153 .sqs-block-content h3 {
  font-size: 7vw
}
#block-yui_3_17_2_2_1604274253628_10153 .sqs-block-content p {
  font-size: 4vw
}
}

That worked perfectly; thank you so much, Bangank!

Link to comment
  • 1 year later...

How can I make the text wrapping issue go away from my site? I have it on many pages, but specifically referring to this page right now- when the window changes, the text moves from one line to two and pushes the images out of line with each other. 

1320974375_ScreenShot2022-03-02at6_00_03PM.thumb.png.27ebe807cf15fcbb7642128e15362676.pngOn mobile, I have a different issue, because this one person's name (we're getting a new image soon, it's supposed to have that weird shape at the moment so don't worry about that) stays on one line weirdly, but isn't centered. 

590113506_ScreenShot2022-03-02at6_00_32PM.png.4e96b320318829cdbcd67f7b22b65ee0.png

Site is www.adeptbenefits.com and password is Employee180!

Link to comment
On 3/3/2022 at 6:05 AM, dv_louise_designs said:

How can I make the text wrapping issue go away from my site? I have it on many pages, but specifically referring to this page right now- when the window changes, the text moves from one line to two and pushes the images out of line with each other. 

1320974375_ScreenShot2022-03-02at6_00_03PM.thumb.png.27ebe807cf15fcbb7642128e15362676.pngOn mobile, I have a different issue, because this one person's name (we're getting a new image soon, it's supposed to have that weird shape at the moment so don't worry about that) stays on one line weirdly, but isn't centered. 

590113506_ScreenShot2022-03-02at6_00_32PM.png.4e96b320318829cdbcd67f7b22b65ee0.png

Site is www.adeptbenefits.com and password is Employee180!

Which page are you referring to?

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
On 3/9/2022 at 10:30 AM, dv_louise_designs said:

All of them really, but specifically the one above is the Meet Our Team page. Also, is there a way to keep the aspect ratio constraints from changing for photos?

 

You mean this problem?

image.thumb.png.6ab9ec64277ff1c4bae89c8008a2362e.png

Add to Design > Custom CSS

/* Team page mobile */
@media screen and (max-width:767px) {
section[data-section-id="6215672720d4727b3982a809"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.user-items-list-item-container[data-section-id="6215672720d4727b3982a809"] {
.list-item-content {
    width: 100% !important;
}
.list-item-content__title {
    width: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: visible !important;
}
.list-item-content__description p {
    text-align: center !important;
}
.list-item-content__description {
    width: auto !important;
    overflow: visible !important;
}}}

 

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
  • 1 year later...

Create an account or sign in to comment

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

×
×
  • 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.