Title: create plugin but having issues
Last modified: April 19, 2021

---

# create plugin but having issues

 *  [bandsome](https://wordpress.org/support/users/bandsome/)
 * (@bandsome)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreate-plugin-but-having-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [bandsome](https://wordpress.org/support/users/bandsome/)
 * (@bandsome)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-plugin-but-having-issues/#post-14336648)
 * 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](https://wordpress.org/support/users/bandsome/)
 * (@bandsome)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-plugin-but-having-issues/#post-14336665)
 * 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](https://wordpress.org/support/users/bandsome/)
 * (@bandsome)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-plugin-but-having-issues/#post-14338940)
 * 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.

 * ![](https://ps.w.org/carousel-upsells-and-related-product-for-woocommerce/assets/
   icon-256x256.png?rev=2167710)
 * [Carousel Upsells and Related Product for Woocommerce](https://wordpress.org/plugins/carousel-upsells-and-related-product-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/carousel-upsells-and-related-product-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/carousel-upsells-and-related-product-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/carousel-upsells-and-related-product-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carousel-upsells-and-related-product-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carousel-upsells-and-related-product-for-woocommerce/reviews/)

 * 3 replies
 * 1 participant
 * Last reply from: [bandsome](https://wordpress.org/support/users/bandsome/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/create-plugin-but-having-issues/#post-14338940)
 * Status: not resolved