Hi all, I am trying to create a custom theme and I am trying to call an svg in the assets folder into an
I’ve tried a few different ways of doing this here is my code so far.
{{ 'icon-arrow-down.svg' | asset_url | img_url: 'medium' | img_tag}}
The first line doesn’t display any image, although the link exists inside the inspector. Wether that link is correct or not I am unsure.
The second line does render an image, however it is just the placeholder ‘no image’ image.
I call JS and CSS through asset_url so I know that my connection to the folder exists. I also know that my file exists in that folder. I know I can render them as snippets but would like to accomplish this with assets if possible.
Thank you, let me know if you need any other information!
