New Landing How can we help? Themeforest Theme Support Dante Team Carousel min-height

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #210310
    petebulley
    Member
    Post count: 6

    I am using the Team Carousel element with the Swift Page Builder and when viewing the page there is a large space below the element.
    Looking at the source code of the page I find the problem is a style tag on the elements in the carousel as follows:

    <div itemscope="" data-id="id-2" class="clearfix carousel-item team-member span3" style="min-height: 1229px;">......</div>

    Note the style="min-height: 1229px;" style.

    I suspect this issue is linked to some custom CSS I am using from another post to remove animation of team elements:

    .team-member figure.gallery-style img {
       pointer-events: none;
       cursor: default;
    }
    .team-member figure img {
       pointer-events: none;
       cursor: default;
    }
    .team-member figure.gallery-style:hover img {
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        transform: scale(1) !important;
    }
    .team-member figure:hover img {
        -webkit-transform: translateY(0px) !important;
        -moz-transform: translateY(0px) !important;
        -ms-transform: translateY(0px) !important;
        transform: translateY(0px);
    
    .team-member figure.gallery-style:hover figcaption {
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        transform: scale(1) !important;
        opacity: 1;
    }
    #210503
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The height should be dynamic, please add this custom CSS to force it:

    .owl-carousel .owl-wrapper-outer {
       min-height: auto!important;
    }

    Thanks,
    David.

    #210801
    petebulley
    Member
    Post count: 6

    Thanks, this did the trick

    #210882
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s sorted. Thanks David.
    -Rui

    #210912
    David Martin – Support
    Moderator
    Post count: 20834

    No problem!
    David.

Viewing 5 posts - 1 through 5 (of 5 total)

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

License required for the following item
Login and Registration Log in · Register