This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago ago by Eva Kemp
Hello,
When viewing the shop page on a mobile device the products are shown one per line.
What file in the css and where in the CSS file do I need to change to make the products show 2 products next to each other instead of one.
Thanks & Regards,
SY Huh
Hello,
Try to add following code into custom.css file.
@media (max-width: 479px){
.products-grid.product-count-4 .product:nth-child(n) {
width: 50%;
}
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Hello,
I want to add some margin between the product image but I’ll do that myself.
You can close this topic.
Thanks & Regards,
SY Huh
Hello,
Ok. Let us know if there are any questions.
Thank you.
Regards,
Eva Kemp.
The issue related to '‘Products layout on a mobile devices’' has been successfully resolved, and the topic is now closed for further responses