Hello there, I am really struggling with adding a language symbol next to the login symbol in my header section.
I want my website to be like on the right and I also want to link my international website to this symbol+EU. Can anyone help me with this?
Thank you so so muchh.
@KetanKumar
HERE IS THE CODE FOR THE SYMBOL:
Hi @Tenera123 ,
Please follow the instructions below.
-
In your Admin page, go to Online store > Themes
-
Choose the theme you want to edit then click Actions > Edit code.
-
Open the Snippet folder, click add a new snippet, name this eu-logo.
-
Open the eu-logo.liquid (newly created snippet) under the Snippet folder. Paste the code you have for your logo. Then click SAVE.
-
Next, we need to add this logo to the header. Open the header.liquid under the Section folder.
-
Find the word header__icons. Ctrl + f to find.
-
Below the header_icons, add the code below. Change the your_link_here to the link you want it to route. Then click SAVE
{% render 'eu-logo' %} EU
See image below for code placement reference
Hello there, so the only thing I did not understand is where should the long code above section 5. go to exactely. Thank you so much I am doing it now.
HI @Tenera123 ,
The steps below will direct you to create the snippet. We need to save the SVG file as a snippet file and call it later. The long code provided is your logo code that you provide.
-
Open the Snippet folder, click add a new snippet, name this eu-logo.
-
Open the eu-logo.liquid (newly created snippet) under the Snippet folder. Paste the code you have for your logo. Then click SAVE.
It worked perfectly! Thank you so muchh 