Hi @avedislifestyle
The issue here is with WebP display. Sometimes, after activating WebP display option (using picture tags), your images might lose alignment.
The solution is simple. You should add one of the following CSS snippet to cover all alignments to ‘<picture>’ tag:
.alignleft {
text-align: left;
}
.aligncenter {
text-align: center;
}
.alignright {
text-align: right;
}
You can add this code in Appearance > Customize > Additional CSS or in your (child) theme’s style.css.
Let me know if that helps.
Best regards
Ioanna
Hi,
We are still waiting for the solution. Kindly reply, please
Hi,
We have added the same given code, but it didn’t work. Still shows the same
Hi @avedislifestyle
Indeed the issue was more complex and this code below, based on our tests, will make it work.
.main-container .shop-products .product-wrapper .product-image picture.secondary_image {
left: 0;
position: absolute;
top: 0;
z-index: 1;
filter: alpha(opacity=0);
opacity: 0;
}
.main-container .shop-products .product-wrapper:hover .product-image picture.secondary_image {
filter: alpha(opacity=100);
opacity: 1;
}
You can contact us once it is applied so we can check it.
Best regards
Hi,
Thank you very much. This worked for us.
Regards
i have the same issue
carwash
Hey @carwashsp
Can you tell me on which page the issue happens? Did you try the code from the previous message?
It might be different but we need to see it in action.
Best Regards
Marko