Hi all!
Could anyone please walk me through how to add a clickable button to the header in trade them? I want it over by the cart and search icons. My site isn’t live yet.
Any help would be greatly appreciated! Thank you!
Hi all!
Could anyone please walk me through how to add a clickable button to the header in trade them? I want it over by the cart and search icons. My site isn’t live yet.
Any help would be greatly appreciated! Thank you!
Hi @notsogood1
You can do that by opening the header.liquid file in Online Store > Themes > click “…” next to Trade theme > Edit code, find this line of code
{% render 'header-search', input_id: 'Search-In-Modal' %}
Add this code above it
button
Hi! Thank you so much for responding. It’s giving me an error message when I try to save it. I did have the link in their previously but took it out to see if the link was the problem. This is what it says:
Could you take a screenshot of the code where you placed it?
Oh, you added in 157 line. You should add it around line 256
Got it! Thank you so much! One more question, my apologies. Is there a way to change to button size and color?
Could you send me your store URL so I can check and give you the code?
I actually figured it out. Thanks!
Hi! I was actually able to figure it out. Thank you so much for your help!