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

    I can change the background color of textblock in a custom style
    @media only screen and (min-width: 768px)

    But it is not working on a mobile, even if I use the same style in
    @media only screen and (max-width: 767px)

    On the mobile, the background is transparent and I want it white with an opacity at .9
    Thanks for your help!
    Jean

    #491004

    Hi jeanroy99!

    Is this the CSS your using?

    @media only screen and (min-width: 768px) {
    .shadow {
        border: 1px solid #ccc;
        position: relative;
        width: 100%;
        height: auto;
        background: rgba(255, 2555, 255, 0.9);
    }
    }

    Add this beneath it.

    @media only screen and (max-width: 768px) {
    .shadow {
        border: 1px solid #ccc;
        position: relative;
        width: 100%;
        height: auto;
        background: rgba(255, 2555, 0, 0.9) !important;
    }
    }

    Best regards,
    Elliott

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