Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #843330

    Hello,

    Thank you for a great theme.

    The Full screen slider on our home page looks great on desktop. However, the images are cut off on mobile. Is there a way that we can show the full images on mobile as well?

    Thank you!

    M

    #843368

    Hey maggie8741,

    To works better, you can replace the image enabling the custom class here: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and add a custom code like here:

    
     @media screen and (max-width: 769px) {
        #yourCustomClass {
          background-image: url('IMAGE URL');
        }
    }
    

    Best regards,
    John Torvik

    #843746
    This reply has been marked as private.
    #844354
    This reply has been marked as private.
    #845186

    Hi,

    Please use the following css code:

    @media only screen and (max-width: 989px) {
    .fullscreenslider .slide-1 {
        background-image: url(REPLACE-THIS-IMAGE.jpg) !important;
    }
    
    .fullscreenslider .slide-2 {
        background-image: url(REPLACE-THIS-IMAGE.jpg) !important;
    }
    
    .fullscreenslider .slide-3 {
        background-image: url(REPLACE-THIS-IMAGE.jpg) !important;
    }
    
    .fullscreenslider .slide-4 {
        background-image: url(REPLACE-THIS-IMAGE.jpg) !important;
    }
    }

    Replace the desktop images with the mobile images. Please note that the slider cuts off parts of the slider image in order to keep the images’ aspect ratio. We can set the “background-size” property to “contain” or “100%” but it will distort the slider images or leave white spaces around the slider container.

    Best regards,
    Ismael

    #845571

    Thank you!

    Now my slider completely went blank on mobile. I then deleted all the codes, and the slider is still showing blank…not sure what happened. Could you please take a look at it? Thank you so so much for all your assistance!

    M

    #845692

    Hi,

    The site is under maintenance mode. Please post the login credentials so that we can check it again.

    Best regards,
    Ismael

    #846955

    It works now! Mobile view looks great! Thank you so much guys!

    M

    #847142

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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