Text in listing detail tabs does not break properly when wrapping

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #11570

    cnelsonjeffers
    Expired Member
    Post count: 27

    I couldn’t find this issue mentioned but if it’s been covered in the past probably I wasn’t searching for the right terms – or maybe the issue is in something I’m doing wrong.

    The issue is in the tabbed area of the listing detail. When wrapping the text does not break properly at full words, but breaks words arbitrarily between lines, sometimes with just one letter.

    Since WordPress itself handles word breaks just fine in normal posts then there must be something in the custom pages or the tabbing that is interfering.

    For example:

    A line ending with the word “doctor” breaks at “doct” with “or” on the next line, rather than breaking before the word starts (or hyphenating properly, which would be “doc-tor”).

    In another case, the word “the” at the end of the line broke after the letter “t” with “he” on the next line.

    Actually I see that it is not just in the tabbed area that this is occurring – it also afflicts the summary lines in the category and search listings.

    Any thoughts or ideas?

    #11571

    Guust
    Moderator
    Post count: 29970

    Add this to the stylesheet of your child theme (I am guessing you are using GDF):

    p {
    -ms-word-break: normal;
    -ms-word-wrap: normal;
    word-break: normal;
    word-break: normal;
    }

    #11572

    cnelsonjeffers
    Expired Member
    Post count: 27

    Perfect! That fixed it!

    I put the code into the Quick Code CSS section of the GDF Options, if that’s what you meant.

    #11574

    Guust
    Moderator
    Post count: 29970

    Yep, that’s an OK page for it.
    The other place you could add it is Appearance > Editor > Child theme > style.css.

    #11631

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks, this will be fixed in the next version of GDF.

    Stiofan

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket