Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Forcing line breaks on mobile


heytom88

Question

Site URL: http://ninawrightinteriors.com/

Hey all! Just looking at trying to force a line break when on mobile. Its for the homepage - you'll see "Showhomes. Interior designed. One price." and on mobile, I'd love it to break over three lines:

Showhomes.
Interior designed.
One price.

It is part of a full width gallery. ny help would be hugely appreciated 🙂 Thanks!

Link to comment
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

7 answers to this question

Recommended Posts

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

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

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