Divided words

  • Author
    Posts
  • #160770

    Hi,
    How to prevent words to be divided from one line to another?

    Example: it can develop positive relation-
    ships, break down obstacles

    To customize CSS, the following doesn’t work:

    p {
    word-wrap: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    }

    Thank you!

    The blog I need help with is: (visible only to logged in users)

    #160802
    anarieldesign
    Theme Author

    Hi,

    thank you for using our theme.

    This code works but the text you sent as an example is not a paragraph, it’s heading, so you’ll need to add this:

    h2 {
        word-wrap: normal;
        -webkit-hyphens: none;
        -moz-hyphens: none;
        hyphens: none;
    }

    Hope this helps.

    All the best,
    Ana

    #160804
    synergyefficient
    Member
    Original poster

    Thank you, Ana!

    #160825
    anarieldesign
    Theme Author

    You are welcome :)

    #161047

    Hi

    I have
    p {
    word-wrap: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    }
    in my Customised CCS.

    But my paragraphs still have some words divided over two lines.

    See https://global-risk-management.com/services/new-country-and-emerging-market-entry/

    and is there CCS to do the same for bullet pointed lists

    #161097
    anarieldesign
    Theme Author

    Hi,

    for the list you can use:

    ul li {
    word-wrap: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    }

    Hope this helps.

    All the best,
    Ana

  • The topic ‘Divided words’ is closed to new replies.