We have successfully styled the products for desktop view and larger phones, but we are facing challenges in adjusting them properly for smaller phones.
Below you will find a photo and corresponding code snippets:
/* Products list - view list */
.products-list .item .item-inner .box-info-list {
margin-left: 150px;
padding: 2px;
}
.products-list .item .item-inner {
-moz-box-shadow: 3px 3px 5px 6px #ccc;
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
box-shadow: 1px 1px 2px 1px #ccc;
margin-bottom: 15px;
}
.products-list .item .item-inner:hover {
-moz-box-shadow: 3px 3px 5px 6px #ccc;
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
box-shadow: 2px 2px 3px 2px #ccc;
}
.products-list .item .item-inner .box-image-list {
width: 140px;
border: 0px solid #ddd;
}
@media (min-width: 320px) and (max-width: 767px) {
.products-list .item .item-inner .box-info-list .product-name {
font-weight: 700;
font-size: 90.33%;
text-transform: capitalize;
margin-bottom: 0px;
}
.products-list .item .item-inner .box-image-list {
width: 30%;
border: 0px solid #ddd;
}
.products-list .item .item-inner .box-info-list {
margin-left: 140px;
padding: 2px;
}
}
Image link: https://i.sstatic.net/RCBlR.png
Image link: https://i.sstatic.net/Ggvz7.png
Image link: https://i.sstatic.net/ikeaa.png
Screenshot of the issue: https://i.sstatic.net/sZdqd.png