Hi! I need the code and the steps on how to add a clickable button to my Header. I’ve seen already some discussions about it but either not working for me (my theme) or vage solutions.
Theme: Refresh
I’ve also already edited a bit of the code (header.liquid - %schema%) to include the button settings in the section editor.
However, still missing the logic. I don’t know if it is a bit to complicated doing it that way, but hopefully I get some answers here.
Thanks!
@ManuelKopi - if it is a single button then you can directly add it using html code to header file than using schema code
Thanks Suyash1 for your reply. So, how would you do that? I would like something like this:
Color code: #F59761
@ManuelKopi - try this html by putting it in header.liquid file
Join Now
I managed to work it out, but not quite as you mentioned. However, it was usefull. Thanks!
Here’s what I’ve done:
Join Now
Regarding the position for this code in the header.liquid, it has been a matter of trial and error until I found the right spot as shown in my screenshot.
Thanks.