Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #977132

    Hi,

    i try to separate long h1 titels with ­ in textmode and with media queries like this:

    <h1>Das Tiroler Landesjugend­­­orchester</h1>
    <h3>Dirigent: Vito Cristofaro</h3>

    and in CSS

    @media only screen and (max-width: 767px) {
    h1 {
    hyphens: auto;
    }}

    But it doesn’t work. Do you have any other idea how i can separate long words for smartphones?

    Thank you for helping!

    #977293

    Hey Stefan,

    Thank you for using Enfold.

    Where can we see these titles? Try to add the css prefixes.

    @media only screen and (max-width: 767px) {
    #top h1, #top h2 {
      -webkit-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
    }
    }

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.