Trying to add image showing Secure Checkout below Buy Button, but its too small

Hello, I managed to add a custom image below my Buy Buttons on product pages, but it’s too small. I added it via Product metafield definitions and a Custom Liquid block on a Products Template.

How can I make this bigger? Here is what I’m seeing

Hi @ShawnBHS ,

Please share your store URL and if your store is password protected then please provide password too.

So that we can help you.

https://thebesthomesupply.com/

Hi @ShawnBHS ,

You open file product-template.liquid and find to tag img and remake:
{{… | product_img_url: “small”}} ==> {{… | product_img_url: “large”}}

If you find this answer helpful, please mark it as a SOLUTION.

Best regards.

I do not seeproduct-template.liquid only product-template.json and that file does not have a size

I found a solution. I needed to edit the code in the Custom Liquid block on the product template to look like this:

{{ product.metafields.my_fields.secure_checkout_badge | image_url: width: 900 | image_tag: width: 400, height: 100 }}

Hi @ShawnBHS ,

I needed to edit the code in the Custom Liquid block on the product template to look like this:

{{ product.metafields.my_fields.secure_checkout_badge | image_url: width: 900 | image_tag: width: 400, height: 100 }}

If you find this answer helpful, please mark it as a SOLUTION.

Best regards.