Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

Place image into custom HTML Section Debut

Place image into custom HTML Section Debut

aprilyuen
Excursionist
30 1 8

Hi, 

I am trying to put icons for each of benefit of my product in the custom HTML section of my website. So, there would be an icon image for each line.

Ex: <img scr= "flowerlogo.png" > <span> Clarify and smooth dry, rough patches </span>

However, when I try to use the img tag in the custom HTML section, it does not work. I have uploaded an image into the assets file of the code. However, the custom HTML section cannot access the image. Am I doing this wrong? How do I add images? 

 

Screen Shot 2022-03-22 at 3.40.18 PM.png

Screen Shot 2022-03-22 at 3.35.48 PM.png

Replies 2 (2)

AvadaCommerce
Shopify Partner
3879 840 1006

Hi @aprilyuen ,

 

You try below code:

 

<img scr= "{{ 'flowerlogo.png' | asset_url }}" >

 If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

banned
aprilyuen
Excursionist
30 1 8

Hi AvadaCommerce, 

 

I have input the code in the custom HTML section of my website but when I refresh, I don't see the image there. Am I doing this wrong? 

Screen Shot 2022-03-22 at 8.33.58 PM.png