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

    Hey Guys,

    I love my slider image on desktop, but i just can’t get the text to sit right on mobile with the current design.

    How would i go about showing a different image on mobile?

    Regards,
    Terry

    #1068509

    Hey Terryf59,

    Add a color section under the slider and add the id fullscreen_slider_0_mobile to it in the element options. Then add the following CSS to Quick CSS under Enfold–>General Styling:

    @media only screen and (min-width: 768px) {
     #fullscreen_slider_0 {
    display:block !important;
    }
     #fullscreen_slider_0_mobile {
    display:none !important;
    }
    }
    
    @media only screen and (max-width: 767px) {
     #fullscreen_slider_0 {
    display:none !important;
    }
     #ffullscreen_slider_0_mobile {
    display:block !important;
    }
    }

    Best regards,
    Jordan Shannon

    #1068523

    Hey Jordan,

    Sorry, what do your mean by add a colour section?

    #1068639

    Hi,

    Add a color section using the layout builder. So the same page where you added the layer slider.

    Best regards,
    Jordan Shannon

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