bellabella1212
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] shop page display broken after update to 2.5.5With some input from my son and a bit of muddling with developer, I put this in the additional css to improve centering of images and spacing between images and captions. Hope it helps. Maybe some pro help would give us a clean solution.
img.attachment-woocommerce_thumbnail {
margin-left: auto;
margin-right:auto;
margin-bottom: 1em;
}
ul.products li.product.product-category img, ul.products .wc-block-grid__product.product-category img, .wc-block-grid__products li.product.product-category img, .wc-block-grid__products .wc-block-grid__product.product-category img {
margin-bottom: 1em;
margin-right: auto;
margin-left: auto;
}Forum: Themes and Templates
In reply to: [Storefront] Product images not centered on mobile devicesI put this mess in and added the margin-bottom: 1em; to create a bit of space between the image and the caption.
ul.products li.product.product-category img, ul.products .wc-block-grid__product.product-category img, .wc-block-grid__products li.product.product-category img, .wc-block-grid__products .wc-block-grid__product.product-category img {
margin-bottom: 1em;
margin-right: auto;
margin-left: auto;Forum: Themes and Templates
In reply to: [Storefront] Product images not centered on mobile devicesThis helped improve the display of products. Still need a fix for proper display of categories.Paste in Additional CSS
img.attachment-woocommerce_thumbnail {
margin-bottom: 1em;
margin-left: auto;
margin-right:auto;
}- This reply was modified 6 years, 1 month ago by bellabella1212.
Forum: Themes and Templates
In reply to: [Storefront] Product images not centered on mobile devicesI think this is the same issue I posted before you. The captions don’t line up with the images. I am having my developer son take a look at it…