Hi all,
Does anyone know if it’s possible to change the image of the gift card, for gift card purchase? I am using the Grass theme.
Thanks in advance
Hi @laila
Jasmine here from Plak Theme support in order to assist with the modification of the Gift Card image.
In order to change the default Gift Card image, I invite you to follow these steps :
- From your Shopify dashboard, click Online store > Actions > Edit code
- In the Assets directory, click Add a new asset
- Click Choose File to upload your new image. I suggest using a simple filename, for example giftcard.png (The recommended size for gift card images is 950px by 550px, you can also use an aspect ratio of 5:3 or a minimum size of 450px by 270px)
- Click Upload asset. The new gift card image will appear in your Assets directory. Take note of the file extension (.png or .jpg)
- Under the Templates directory, click gift-card.liquid
- Find the following code
<img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="Gift card">
- Replace it with
<img src="{{ 'giftcard.png' | asset_img_url: '1024x1024' }}" alt="Gift Card">
- Click Save
Let me know if you have any additional requests @laila
Kind regards,
Jasmine
Jasmine | Plak theme support
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution
Just perfect, thank you so much
Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.
Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple