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

    Hi,
    i’m using layer slider for desctop and responsive with this code:
    @media only screen and (min-width: 701px) {
    #layer_slider_1 {
    display: block !important;
    }
    #layer_slider_2 {
    display: none !important;
    }
    }
    @media only screen and (max-width: 700px) {
    #layer_slider_2 {
    display: block !important;
    }
    #layer_slider_1 {
    display: none !important;
    }
    }

    I would like to do same for another resolution inbetween.

    Is this possible? How can i do that?

    I would like to use:
    1) for max-width 700px
    2) for max-width 1000px
    3) for max-width 1500px

    Where do i add “layer_slider_1” and “layer_slider_2” in the slider options? I could not find it? Someone helped me before…

    Kind regards and thanks!

    Jak

    • This topic was modified 4 years, 6 months ago by Jak73.
    #1220116

    Hey Jak73,

    The IDs are created automatically for you, the first one would be called layer_slider_1 and the number would be incremented by one for the next one and so on. All you need to do is to copy the CSS you already have and to change the media queries to your new pixel values.

    Best regards,
    Rikard

    • This reply was modified 4 years, 6 months ago by Rikard.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.