[Resolved] Mobile only: Title on home page broken in half

Home Forums Support [Resolved] Mobile only: Title on home page broken in half

Home Forums Support Mobile only: Title on home page broken in half

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #814784
    Nicole

    I noticed that a title on my home page, when viewed in mobile ONLY, has a word that is broken up. For example:

    Do you need a virtual
    assistant
    to help you with your bus
    iness?

    Is there some way to ensure the word stays together? I’m surprised it doesn’t say something more like:

    Do you need a
    virtual assistant
    to help you with
    your business?

    Is there a way to choos when a new line starts, on mobile ONLY?

    #814965
    Tom
    Lead Developer
    Lead Developer

    Hey Nicole,

    This is happening because of how your HTML is set up: https://www.screencast.com/t/0donZKAC

    You’ll see various   characters, which are non-breaking spaces. Those will prevent the words from breaking.

    You’ll also see <br> characters, which will force the line to break, even if it’s not required.

    You may not be able to see the &nbsp; characters, so it’s best to just delete the spaces and re-add them.

    Then you can remove the <br> elements, and your content will flow normally.

    #815774
    Nicole

    Fixed. I just re-created the block. For some reason I didn’t think of trying that. I’ll keep your advice handy for the future if this happens again, though. Thank you very much!

    #815806
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.