This topic has 4 replies, 3 voices, and was last updated 1 years, 3 months ago ago by Rose Tyler
How to reduce this gap between the two columns of the products on mobile device (https://prnt.sc/vquOXBdN70Dj). This is so unpretty and almost all the demos’ shop page (when 2 columns layout) look like this. I tried putting the following codes:
@media only screen and (max-width: 480px)
.products-grid .product {
width: 50%;
padding-left: 5px;
padding-right: 5px;
}
in the Additional CSS, but it doesn’t work. I really appreciate if you could spare me some functional codes. I’d like to share my administrative info if it’s necessary.
Hello, @lanxiaodj,
Thank you for choosing XStore as your WooCommerce WordPress theme.
In order to solve your issue, Please copy and paste the following CSS code to Xstore >> Theme Options >> Theme Custom CSS >> Global CSS and then clear your browser cache. The result should look like this: https://postimg.cc/tZn2KwM0
@media screen and (max-width: 767px) {
.products-loop .type-product {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
We trust this will be of assistance to you.
Best Regards,
Team 8Theme.
Works!!!!!!
Appreciate your assistance
Hello, @lanxiaodj,
You’re welcome!
Best Regards,
Team 8Theme.
You must be logged in to reply to this topic.Log in/Sign up