New Landing How can we help? Atelier Adjust Swift Slider Height Mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #312608
    amrit02
    Member
    Post count: 46

    Hi,

    In my webpage, the swift slider is set to 920px in height.
    However when i view it on my mobile (iPhone) , some parts of the image are cropped.
    How do i freely adjust the Swift Slider height in mobile?

    #312691
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    What height do you want so we can try some custom css?

    -Rui

    #312738
    amrit02
    Member
    Post count: 46

    On the main home page of the site.

    #312739
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    I was asking what specific height you want in the mobile slider? if it’s 920px don’t see any other option then cropping the image since the width in the mobile will be around 400px

    -Rui

    #312772
    amrit02
    Member
    Post count: 46

    I mean, i need the image to be about 600 pixels , So it gives a nice view on potrait mode on major iOs devices.

    #312979
    David Martin – Support
    Moderator
    Post count: 20834

    This is not really possible to do unless you literally set a max-height which will be at the expense of the image view.

    Slider Revolution the slider plugin we package with the theme has a better set of options for handling various smaller screen sizes so that might a better option for you to explore.

    .swift-slider-outer,
    .swift-slider {
        max-height: 400px!important;
    }
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register