WooCommerce blocks styling for mobile
-
Re: Page I need help with ~ https://heritagecountrypottery.com/blocks/
Image showing what I would like ~ https://hardy.global/mobiles.jpgHow can I style for mobile? On mobile all the blocks stack one image on top of the other.
I wanted the Hand-picked Products (Top 6 images) to stack three by three and the Products by category to have no stacking ~ as it looks same as on desktopI tried this code for the top 6 images which nearly worked but didn’t…
@media(max-width: 480px) {
.wc-block-grid.has-6-columns .wc-block-grid__product, .wc-block-grid.has-6-columns .wc-block-grid__product {
width: 48% !important;
float: left !important;
margin-left: 1%;
margin-right: 1%;
}
}I added a custom class on the page called peter1 which did not seem to make any difference
The page I need help with: [log in to see the link]
- The topic ‘WooCommerce blocks styling for mobile’ is closed to new replies.