• Resolved lenzostore

    (@lenzostore)


    Hello there, I would like to make the store list carousel on mobile to two columns, I found this code:

    @media (max-width: 767px) {
      #wcfmmp-stores-wrap .wcfmmp-stores-content ul.wcfmmp-store-wrap li {
        width: 50%!important;
        float: left !important;
      }
    }

    But it’s not working for me unfortunately, it gave the space for the second column but it doesn’t appear.

    Check this screenshot: https://imgur.com/a/LGKIAEb

    Hope if you can help me to solve the issue.

    Kind Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    This code is for store list page, will not work for store carousel.

    Instead add this PHP snippet to your site –

    add_filter( 'wcfmmp_stores_carousel_args', function( $args ) {
    	if( isset( $args['responsive'] ) ) {
    		$args['responsive'][360] = array( 'items'	=> 2 );
    	}
    	return $args;
    }, 50 );

    Add custom code(s) to your child theme’s functions.php
    In case you do not have child theme then add those using this plugin – https://wordpress.org/plugins/code-snippets/

    Thread Starter lenzostore

    (@lenzostore)

    Thank you so much for helping me , it worked. Best support team ever.

    Plugin Author WC Lovers

    (@wclovers)

    You are always welcome.

    It will be really pleasure for me if you leave a review for me 😊

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

The topic ‘2 column store list carousel on mobile’ is closed to new replies.