This topic contains 8 replies, has 2 voices, and was last updated by  Tinus53 3 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #147941

    Tinus53
    Participant

    Hi,
    I tried to add Hyphens to my Website, but it does not work.
    I added this code to the Additional CSS Section:
    body {
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    }
    It seams working only the preview window while adding the code but not when I called the Website with my browser.

    Please give me an idea how to add hyphens to all sections of my Website.
    The URL is: http://sf-plochingen.schachvereine.de

    Regards
    Bernhard

    #147944

    Skandha
    Participant

    @tinus53: Can you please elaborate where you want to use the hyphens on your website?

    Kind Regards,
    Skandha

    #147952

    Tinus53
    Participant

    I’d like to use hyphens in Posts and on Pages. Perhaps in the calender in the sidebar.

    #147955

    Skandha
    Participant

    @tinus53: I’m sorry but for what would you like to use the hyphens. Is it for word-break or for something else?

    Kind Regards,
    Skandha

    #147958

    Tinus53
    Participant

    Yes, for hyphenation (word-break).

    Regards
    Bernhard

    #147960

    Tinus53
    Participant

    I found this code in the stye.css at line 1203:

    #content article {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    }

    So I think hyphens is allready included in the theme.
    But I cannot see any effect.

    Regards
    Bernhard

    #148004

    Skandha
    Participant

    @tinus53: I checked your site and the hyphens seems to be working well. You can see that a hyphen is used when a word in the article overflows to the next line.

    Let me know if you have anymore issues.
    Kind Regards,
    Skandha

    #148007

    Tinus53
    Participant

    I’m sorry but I don’t see any hyphens. Neither in the IE nor in the chrome browser.
    The hyphen in “Schach-Dauerlauf” is not added automaticaly, it is added by myself in the editor.

    When I go to the Additional CCS Section I see much more hyphens in the preview window.
    How can I add an attachment to make more clear what I mean?

    Regards
    Bernhard

    #148013

    Tinus53
    Participant

    Here are two screenshots. I took them in the Customizers -> Additional CSS Section.
    As you can see, there are some more hyphens. I marked them with red circels.

    http://sf-plochingen.schachvereine.de/sfp2/wp-content/uploads/2018/06/hyphen-1.png
    http://sf-plochingen.schachvereine.de/sfp2/wp-content/uploads/2018/06/hyphen-2.png

    This hyphens are not displayed when I call the website with my browser: http://sf-plochingen.schachvereine.de

    Regards
    Bernhard

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

You must be logged in to reply to this topic.