WordPress.org

Forums

Spasalon
[resolved] Prevent WordPress from cutting words in services section/homepage (6 posts)

  1. paulinelephew
    Member
    Posted 1 year ago #

    Good afternoon,

    On the home page, service section, I put a text description and wordpress automatically cuts my words and it doesn't make any sens.

    Here is my url http://www.wordpress.paulinelephew.com/

    I have added the following CSS in an attempt to fix it:

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

    Has someone successfully managed this issue?

    Thank you!

  2. vibhorp
    Member
    Posted 1 year ago #

    Hi,
    Home service section will populate using option's panel setting.

    We have checked it on our end and everything works fine.

    Have you edit or change any code in the themes files ?

    Thank's

  3. stephencottontail
    Member
    Posted 1 year ago #

    Does adding word-break: break-word; to your custom CSS give you the desired result?

  4. paulinelephew
    Member
    Posted 1 year ago #

    Dear Vibhorp,
    I haven't modified anything and used custom CSS for my CSS changes.

    @stephencottontail, thanks for your suggestion, unfortunately it doesn't work.

    Any other ideas?

    Thanks!

  5. paulinelephew
    Member
    Posted 1 year ago #

    Problem solved!

    word-break: keep-all;

    thanks!

  6. organi65
    Member
    Posted 1 year ago #

    Hey Paulinelephew

    How did you fix this problem? I know you put word-break: keep-all;

    But where do you insert this?

    Please let me know as this is causing me some major grief.

    Thanx

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic