Jump to content

Prevent Text Block from Wrapping on Mobile

Recommended Posts

  • Replies 19
  • Views 3.3k
  • 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...
  • 4 months later...

Hello! I am having the same trouble on my site, www.elizabethlovestoorganize.com. On the home page, the bulleted items listed under areas I can help with. On the preview for ss it shows correctly, but when I view the site on my phone it wraps the text incorrectly. 

Thank you!

Link to comment
On 5/1/2024 at 7:16 AM, Belizabeth said:

Hello! I am having the same trouble on my site, www.elizabethlovestoorganize.com. On the home page, the bulleted items listed under areas I can help with. On the preview for ss it shows correctly, but when I view the site on my phone it wraps the text incorrectly. 

Thank you!

Can you take a screenshot of problem on your phone?

https://www.elizabethlovestoorganize.com/

Or you mean fix this text?

image.thumb.png.c6172aa9aa46479cc5cb7066fe2859c4.png

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

Because the site is live, I did a temporary fix by removing the bullet lists and manually adding hyphens before each word. However, I do not like that I can't add a space after each word. Does it need to be bulleted for code to fix it? Thank you again!

Link to comment
On 5/11/2024 at 1:12 AM, Belizabeth said:

Because the site is live, I did a temporary fix by removing the bullet lists and manually adding hyphens before each word. However, I do not like that I can't add a space after each word. Does it need to be bulleted for code to fix it? Thank you again!

I think it needs code, because List have a left padding in default (this is default on all platforms), we need to remove it with code.

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

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.