Support » Plugin: Hyphenator » hyphenate only mobile view

  • opticaldreams4u

    (@opticaldreams4u)


    hi

    How to hyphenate but just in mobile view of page?

    Here is code I use for mobile view. I’m making a font a little bigger, justify is enabled and i would like also to hyphenate .entry-content class but just in mobile view:

    @media (max-width: 768px) {

    .entry-content {
    font-size: 105%;
    text-align: justify;
    }

    Of course if I replace class “hyphenate” in settings it works fine but globally for both views, desktop and mobile but I need just mobile. Can I add somehow hyphenate to above code?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘hyphenate only mobile view’ is closed to new replies.