• Resolved ebenezer357

    (@ebenezer357)


    Hi, I have created a template and I assign a class to one of my divs (<div class=”left-book”>)
    On the style.css when I type: .left-book {background-color: #ff0000;} it works fine, but I’m trying to put it inside the (@media max-width) functions in order to assign different css to it as the screen size changes on the different users, but when I type .left-book {background-color: #ff0000;} inside this @media thing it doesn’t do anything.

    Please tell me how should I do this, thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try demonstrating the issue within this CSS sandbox at http://cssdesk.com . You can press ‘share’ and a share-able link will be generated.

    Post here that link please.

    Thread Starter ebenezer357

    (@ebenezer357)

    never mind i did it in the custom css area of the theme and it’s now done. Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘css inside @media’ is closed to new replies.