This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Words Breaking

10 years ago · Last reply by Matt Hsu 10 years ago

Hi, I’m running Vantage Premium. I noticed that as I resize my browser, some of my h1 text breaks midword onto another line, as if it were hyphenating, but without a hyphen. I want it so that the entire word goes onto the next line instead of breaking in parts.

Here is my site: http://theriochurch.com/our-stories/unwrapping-the-tentacles-of-hate/

I’m mostly noticing it on the “More Stories” text as you resize.

Any help?

URL: http://theriochurch.com/our-stories/unwrapping-the-tentacles-of-hate/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. Andrew Misplon Staff 10 years, 6 months ago

    Hi Silas

    Thanks for reaching out. Try the following at Appearance > Custom CSS:

    /* Headings */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      -webkit-hyphens: auto;
      hyphens: auto;
      word-break: normal;
    }

    Let me know how that goes.

    Thanks

  2. Silas Nelson 10 years, 6 months ago

    I tried that, but it didn’t work. I changed it to

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    	word-wrap: normal;
    }

    and that seemed to fix it, but now it extends out of the div when the browser width gets to a certain length. Do you know of any way to tell css to break the entire word to the next line when the div gets too small?

  3. Andrew Misplon Staff 10 years, 6 months ago

    Mmm, that’s what the rule I sent should have done.

    Can you send device and browser details so I can try replicate and then test.

    Thanks :)

  4. Silas Nelson 10 years, 6 months ago

    I’m using Google Chrome. I’m running it on a laptop, Windows 10.

  5. Andrew Misplon Staff 10 years, 6 months ago

    Could you perhaps try the original rule I sent in our Custom CSS space at Appearance > Custom CSS:

    /* Headings */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      -webkit-hyphens: auto;
      hyphens: auto;
      word-break: normal;
    }

    That’ll make it a little easier for us to see it as it’s not compressed like your Custom CSS plugin. I’ll then get Magus here at SiteOrigin to check on Windows for me. Thanks.

  6. Matt Hsu 10 years, 16 days ago

    I’m getting this same issue, and pasting in the code given does not fix it. I have attached the picture from my iPhone 6s chrome. URL is https://uprighthealth.com/skype-sessions/

    You can see that “anywhere” gets chopped randomly midword.

    IMG_0410

    I get similar instances on another site as well in the headline widgets that other css fixes I’ve found on this support forum also did not help.

  7. Matt Hsu 10 years, 16 days ago

    I’m using pagebuilder 2.2.2, widgets bundle 1.5.7, on wp 4.4.2

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread