Jump to content

How to stop bolded words splitting on mobile view

Recommended Posts

Site URL: https://carillon-lobster-xd75.squarespace.com/config/design/custom-css

Hi - got a problem with bolded words splitting onto the next line in mobile view. It's not hyphenating it's splitting. I've got the following code which works but realised I've still got the problem with words that are bolded. (Problem is on my clients phone).

h1, h2, h3, p, {
  hyphens: none;
}

h1, h2, h3, p, {
    overflow-wrap: normal;
}

p, h1, h2, h3 {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

Link to comment
  • Replies 6
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Screenshots attached. I've just seen it's not just the bolded words.

 

There's another problem I don't  know how to fix too - client said she has to scroll across the page to see the hamburger in mobile view (screen shot attached).

problem.jpg

problem2.jpg

Link to comment
  • 1 year later...
On 8/29/2020 at 12:56 AM, KateG said:

Site URL: https://carillon-lobster-xd75.squarespace.com/config/design/custom-css

Hi - got a problem with bolded words splitting onto the next line in mobile view. It's not hyphenating it's splitting. I've got the following code which works but realised I've still got the problem with words that are bolded. (Problem is on my clients phone).

h1, h2, h3, p, {
  hyphens: none;
}

h1, h2, h3, p, {
    overflow-wrap: normal;
}

p, h1, h2, h3 {
  -webkit-hyphens: manual !important;
     -moz-hyphens: manual !important;
      -ms-hyphens: manual !important;
          hyphens: manual !important;
}

Can you share link to page where you have problem? /config is url for site admin

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.