How i add svg file to Refersh thema?
Hi @zamchik
Follow this guide.
To get the SVG code right, click on the SVG file on your computer, choose edit with notepad, and copy the complete code.
SVG images can be written directly into the HTML document using the tag. To do this, open the SVG image in VS code or your preferred IDE, copy the code, and paste it inside the element in your HTML document. If you did everything correctly, your webpage should look exactly like the demo below.
It is work perfectly do you can tell me which position i paste for main logo for Refersh thema
Hi @zamchik Please replace the code highlighted below screenshot with the following code
replace the SVG name with your file in the snippets folder.
New code should look like this one.
Please share new code with me i weite manually but it is give error same code area missing. Please paste i copy new code. Thank you
here is the code
{%- assign logo_height = section.settings.logo_width | divided_by: section.settings.logo.aspect_ratio -%}
{% render 'logo' %}
it is not work for me. firstly i upload my svg file and i add code appear very ugly other text




