Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1019462

    Hi
    I’m trying to display one layer slider on mobile only and the other on all other devices, but it won’t block.

    I used
    @media only screen and (min-width: 478px) {
    #layer_slider_2 {
    display: none !important;
    }
    }

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

    #layer_slider_2 {
    display: block !important;
    }
    }

    I noticed the id’s are funny too. They sometimes appear with underscore and then they don’t?

    Thanks for your help.

    #1019634

    Hey june,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1019935

    Hi Victoria
    Thanks so much for your response.
    I posted the access in private.
    Thanks
    June

    #1020165

    Hi,

    Thanks for that, though your code seems to be working on my end. I can only see the second layer slider on mobile widths.

    Best regards,
    Rikard

    #1020354

    Hey Rikard
    I had another look and it’s working now. I didn’t clear my cache but maybe it just took a while to update. I’m pleased to find out I’m not completely useless.
    Thanks for your great support though, you helped me with a lot of other things.
    June

    #1020374

    Hi,

    I’m glad you were able to get this resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘layer slider display’ is closed to new replies.