Title: owl-carousel
Last modified: February 13, 2018

---

# owl-carousel

 *  Resolved [dmitresk](https://wordpress.org/support/users/dmitresk/)
 * (@dmitresk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/)
 * Hi, great plugin! My English is poor. I enable the slider for the related product,
   but after scrolling through the list, it ends for a while (free space appears).
   Can I make related products without a pause?
    I want it here [http://woorelated.eboxnet.com/product/woo-logo-2-2/](http://woorelated.eboxnet.com/product/woo-logo-2-2/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fowl-carousel-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9968953)
 * Hello there, I believe it’s your theme’s CSS that causing this issue
    could you
   disable
 *     ```
       div.owl-wrapper div.owl-item {
           max-width: 180px;
       }
       ```
   
 * for a moment and test?
 *  Thread Starter [dmitresk](https://wordpress.org/support/users/dmitresk/)
 * (@dmitresk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981839)
 *     ```
       div.owl-wrapper div.owl-item {
           max-width: 180px;
       }
       ```
   
 * did not help..
 * .owl-wrapper {
    width: 8800px; left: 0px; display: block; transform: translate3d(-
   6400px, 0px, 0px); transition: all 800ms ease 0s; }
 * maybe this is the problem
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981859)
 * Did you remove this ? is it out atm ?
 *     ```
       div.owl-wrapper div.owl-item {
           max-width: 180px;
       }
       ```
   
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981869)
 * if you can’t remove then you should ADD this one
 *     ```
       #woorelatedproducts .owl-item {
           max-width: initial!important;
       }
       ```
   
 * This will override your theme’s css
 *  Thread Starter [dmitresk](https://wordpress.org/support/users/dmitresk/)
 * (@dmitresk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981887)
 *     ```
       #welelatedproducts .owl-item {
            max-width: initial! important;
       }
       ```
   
 * added
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981894)
 * Great, spacing issue fixed.
 *  Plugin Contributor [Vagelis](https://wordpress.org/support/users/eboxnet/)
 * (@eboxnet)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981906)
 * If you want to get 4 columns in the slider to reduce the size of related products
   you can use the function below into your child theme’s function.php file
 *     ```
       function v_woo_related_slider() { 
         if (is_product()) {?>
       	<script>
       	jQuery(document).ready(function($) {
       	$("#woorelatedproducts").data('owlCarousel').destroy();
         	var owl = $("#woorelatedproducts");
       	  owl.owlCarousel({
       	      items : 4,
       	      itemsDesktop : [1000,3],
       	      itemsDesktopSmall : [900,3],
       	      itemsTablet: [600,2],
       	      autoPlay: 3500,
       	      itemsMobile : false,
       	  });
       	  });
       	</script> <?php 
       	}
       }
       add_action( 'wp_footer', 'v_woo_related_slider' );
       ```
   
 * If you are not familiar editing PHP files you should avoid doing that.
 *  Thread Starter [dmitresk](https://wordpress.org/support/users/dmitresk/)
 * (@dmitresk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981913)
 * Great, thank you!!

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

The topic ‘owl-carousel’ is closed to new replies.

 * ![](https://ps.w.org/woo-related-products-refresh-on-reload/assets/icon-256x256.
   png?rev=1531812)
 * [Related Products for WooCommerce](https://wordpress.org/plugins/woo-related-products-refresh-on-reload/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-related-products-refresh-on-reload/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [dmitresk](https://wordpress.org/support/users/dmitresk/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/owl-carousel-2/#post-9981913)
 * Status: resolved