How to display Woocommerce related products in 2 columns for mobile devices
-
For mobile devices only, I am trying to display Related Products across 2 columns rather than 1.
So far I have tried the following code snippet which seems to create space for another column, but the products are only appearing on the left column. The right side is empty.
@media screen and (max-width: 767px){ .related.products ul.products li.product { flex: 0 1 auto; width: 40%; } }
Any help is appreciated.
Note, I am also using Beaver Builder (similar to Elementor) if that helps but I don’t think that would have any impact on the CSS required.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to display Woocommerce related products in 2 columns for mobile devices’ is closed to new replies.