Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #653191

    Hi there Kriesit team,

    I have another problem. It should be so easy that it’s even awkward to ask for help.

    I want to hide a color section (with an unique section ID) on desktop and tablet devices so that it is only visible on mobile devices.

    @media only screen and (min-width: 480px) {
    
    #nameofsectionid {
    
    display: none !important;
    
    }
    
    }

    Can you please check this code?

    Cheers,

    Andreas

    #653230

    Hey Andreas,

    Thanks for getting in touch with us!

    Please try the following code:

    #nameofsectionid {
    display: none !important;
    }
    
    @media only screen and (max-width: 767px) {
    #nameofsectionid {
    display: block !important;
    }
    }
    

    Best regards,
    Jordan

    #653345

    Hi Jordan,

    thank you for your reply. Workes fine for me.

    Best,

    Andreas

    #653382

    Hi,

    You’re welcome Andreas, glad to hear it works! Feel free to reach out to us on the forum again if you need anything else.

    Best regards,
    Jordan

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide color section on desktop and tablet’ is closed to new replies.