Margins in woo shortcodes for product descriptions on mobile site
-
I have added a new in page on my site which shows the most recent 20 products uploaded using a woo shortcode however the spacing around the product names on the page doesn’t look right on the mobile site.
I have managed to adjust the space above the the product on the homepage using the below CSS but haven’t been able to work out how to do it for the ‘new in’ page. I would also like to reduce the margin under the price as well on both which i haven’t managed to work out.
I don’t want it to affect the spacing on the archives pages which looks fine as it is and so i need it to target the specific pages.
@media only screen and (max-width: 790px) {
.page-id-12
.woocommerce-container .product-title, .home .post-content h3 {
margin-top: -25px;
margin-left: -18px;
margin-right: -18px;
}
}Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Margins in woo shortcodes for product descriptions on mobile site’ is closed to new replies.