Hi, Hope you are doing well.
I can added an metafield image below the product in product page. But the image is coming blurry. Please help with the same. Thanks in advance.
A user added a metafield image below product details on their Dawn theme product page, but the image appears blurry and improperly sized.
Initial Solutions Proposed:
base.css to adjust image width propertiesFollow-up Issues:
Current Fix:
Background color resolved by adding custom CSS to the Collage section settings:
.collage-card { background: none; }
Remaining Challenge:
Matching the metafield image width to product images cannot be achieved through simple CSS due to section limitations. A complete theme modification would be required to fully resolve the sizing and alignment issue.
Hi, Hope you are doing well.
I can added an metafield image below the product in product page. But the image is coming blurry. Please help with the same. Thanks in advance.
.image-with-text__media-item.image-with-text__media-item--large.image-with-text__media-item--top.grid__item {
width: 100%;
max-width: 50%;
}
You’re using wrong section for this.
You should remove “Image with text” section because it is designed to have image and text side-by-side.
I recommend to use a “Collage” section instead – remove all section blocks other than “Image”, empty the section heading and this will look much better. Plus width of the image will match the width of the Product information section (currently it does not).
Hi..
Thanks a lot..i had used the collage and it looks good but there is a background color shown in the image. but i had uploaded one without background. and also the size is really big..i want it to fit exactly in line with the product images..is there a way.
Background can be easily fixed by entering this into ‘Custom CSS’ at the bottom of the section settings:
.collage-card {
background: none;
}
Unfortunately, matching widths can’t be done this way due to limitations of this tool. It will require theme modification.
If you feel that image is too big, you may try adding this code – it will limit it’s width and second line will center the image.
.collage-card {
max-width: 60rem;
margin: 0 auto;
}