How to work with @media ?

Created on 28 September 2021, about 3 years ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

Hello,

I enjoy playing with your theme. :) I would like to use different blocks for a wide screen and a mobile screen:

@media only screen and (max-width: 700px) {
#block-slogan1wide-3, #block:block=slogan1wide_3 {
    display: none !important; }
}

@media only screen and (min-width: 450px) {
#block-slogan2mobiel-3, #block:block=slogan2mobiel_3 {
    display: none !important;}
 }

This works with the DXPR theme but not with the d8w3css theme.

How can I make this work?

I am looking forward to your answer :)

Jippie.

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom jippie1948

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024