[Resolved] Text wrap on header

Home Forums Support [Resolved] Text wrap on header

Home Forums Support Text wrap on header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #286031
    Faye

    Hi there,

    I have a header that is too long on mobile view, but the text doesn’t wrap onto the next line:

    text wrap

    (Note that I have turned off breaking words in word wrap, as I hate to see text dissected. This is not what I want – I want the word ‘Contractors’ to drop to the next line to remain in the viewport, NOT the actual word to be split in half, iyswim).

    The default behaviour of h1 is to wrap, so why is it sticking to the same line here?

    Can anyone help?

    Many thanks!
    Faye.

    GeneratePress 1.3.44
    GP Premium 1.2.94
    #286223
    Tom
    Lead Developer
    Lead Developer

    If you view the headline in the Text or HTML editor, is there this characters between words?:  

    If so, replace it with a regular space.

    #286245
    Faye

    I couldn’t see it in the inspector, and I couldn’t see it in the html, but I deleted the space on the page and reinserted it anyway, and guess what – it’s fixed!!

    Awesome! πŸ™‚
    Thanks Tom πŸ™‚

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