All things Shopify and commerce
Hi I've used the following code.
<div style="text-align:center">
<img src="https://cdn.shopify.com/s/files/1/666/666/9139/files/aaa.png?v=1587954210">
</div>
But still doesn't seems to be working. Any suggestions please. Thank You.
I had this same problem and I fixed it with inline CSS that sets the display type to a block inside the <img> element. The "text-align: center" solution that is commonly suggested doesn't apply to images because... well, it's for text alignment rather than images.
<img style="display: block; margin-left: auto; margin-right: auto; width: 50%" src=(whatever your actual source is)>
You can change how large the image is with the "width" property.
Yes! It works: img center + desired size. Thanks!
A onde posso mudar isso não estou conseguindo!
Olá. Você conseguiu resolver?
Eu não sei como fazer, onde que devo fazer, poderia ensinar?
God thanks, it worked for me !
THANK YOU for this!
Worked great, thank you!
Thank you so much!!!
Hey sorry for asking this 4 years later but where should I put it? I put it in a custom CSS inside a image with text as well as a custom liquid block but it still doesn't work somehow
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024