New Landing How can we help? Themeforest Theme Support Nota Swift slider height on mobile/tablet

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Nota
  • #327476
    Adrenaline22
    Member
    Post count: 183

    On tablet/phone the swift slider is way to small. Where I can edit the heights on mobile and tablets?

    #327483
    David Martin – Support
    Moderator
    Post count: 20834

    The height is relative to the device width to keep proportions.

    To adjust this you’d want to use a media query to add a padding to the slider content.

    Thanks.

    #327489
    Adrenaline22
    Member
    Post count: 183

    I see. What if there is no content? I want just to slide the images?

    #327491
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s the same, it will be necessary to add some padding to the empty content container.
    If you provide us an example url we can have a look at it.

    -Rui

    #327500
    Adrenaline22
    Member
    Post count: 183
    This reply has been marked as private.
    #327515
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    In this case using padding isn’t a viable solution, the background should be adjusted instead.

    @media only screen and (max-width: 767px) {
    .swiper-slide[data-bg-align="top"][data-mobile-bg-horiz-align="left"] {
        background-position: center!important;
    }
    }
    
    .swiper-slide[data-bg-size="auto"] {
        background-size: cover!important;
    }

    You won’t be able to see the entire image properly, but to display the entire background image in the mobile it will look very small and difficult to see.

    -Rui

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