Clean Retina
[resolved] css inside @media (3 posts)

  1. ebenezer357
    Posted 3 years ago #

    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

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    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.

  3. ebenezer357
    Posted 3 years ago #

    never mind i did it in the custom css area of the theme and it's now done. Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic