Jump to content

Forcing line breaks on mobile

Recommended Posts

Can you make this text "Show homes" bold, "interior designed" italic & "One Price" bold? If you can do this, we can acehive above easier.

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
19 hours ago, heytom88 said:

@tuanphanThanks mate, works a treat - but client would like that effect only on Mobile, is that possible? So the one line one desktop, across three for mobile the line breaks at points we don't want it to..

 

Thank you!

Yes. You adde <br/> then let me know, we will give the code to remove br on desktop.

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
22 hours ago, heytom88 said:

@tuanphan Ok, thanks mate! Code added..

 

Cheers

Add this to Design > Custom CSS

/* remove br tag on desktop */
@media screen and (min-width:641px) {
h2.Index-gallery-item-content-heading br {
    display: none;
}
}

 

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.