Support » Plugin: Carousel Upsells and Related Product for Woocommerce » create plugin but having issues

  • Hey, exactly the plugin i was looking for but doesn’t seem to want to load properly.

    I have made some css edits below as initially the images were loading completely zoomed out –

    .products .product .product_thumbnail img {
    width: auto;
    }

    .products .product .product_thumbnail.thb_hover .product_thumbnail_hover img {
        display: block;
        width: auto;        
        height: auto;
        object-fit: cover;
    }

    This fixed that issue, but the images just don’t want to display properly and I can’t figure it out.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bandsome

    (@bandsome)

    Actually just reverted back to original to show you the zoomed out image.

    If there is a way for the image to not display zoomed please let me know.

    Thanks!

    Thread Starter bandsome

    (@bandsome)

    Noticed that the element glide__slides is this –

    transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    width: 15330px;
    transform: translate3d(-5110px, 0px, 0px);
    }

    If I make the width: 100% it works perfectly.

    But weird that the default is so wide.

    Thread Starter bandsome

    (@bandsome)

    Wait, just read another question and your css code below did the trick!

    @media (min-width: 768px){
    ul.glide__slides li.product {
        -webkit-box-flex: unset !important;
        -webkit-flex: unset!important;
        flex: !important;
        max-width: !important;
    }
    }

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘create plugin but having issues’ is closed to new replies.