Jump to content

Force text to stay on one line

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Try adding to Design > Custom CSS

/* Mobile scroll text */
@media screen and (max-width:767px) {
.scroll {
    white-space: nowrap !important;
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 5/29/2021 at 11:33 AM, Leah007 said:

@tuanphanI've added the code you suggested and it just cuts off the text 😞

On desktop it shows the full sentence:

image.thumb.png.43b711866e66a4bffc05a35f00e74e36.png

 

But on mobile it cuts it off like this:

image.png.e7661a3757bd40c5ea02253ebe670516.png

 

Thank you very much in advance for your help!

Try this code

/* Mobile-scrolling text */
@media screen and (max-width:767px) {
.scroll {
    white-space: nowrap !important;
    overflow: visible !important;
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.