• Resolved Cesare

    (@cezareluke)


    To view two columns of products on mobile version i entered the following css code but it doesn’t work:

    @media screen and (max-width: 767px) {
    	.home .site-main ul.products li.product {
    	  width: 48%;
    	  margin: 0 0 0 4%;
    	  clear: none;
    	}
    
    	.home .site-main ul.products li.product:nth-of-type(2n+1) {
    	  clear: both;
    	  margin: 0;
    	}
    }

    What is the problem?

    Thank you all

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

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

The topic ‘Multiple columns on mobile version’ is closed to new replies.