Liquid, JavaScript, themes, sales channels
Hi,
I have successfully placed the currency selector in my header instead of the automatic footer in Debut theme however I would like to customise it.
It would be great to know what code is needed to remove the currency symbol and make the dropdown arrow white, and closer the 'GBP'? I have tried so many things and nothing seems to work!
The code I used for the currency selector was:
In header.liquid
{% form 'currency' %} {{ form | currency_selector }} {% endform %}
In theme.js
function currencyFormSubmit(event) { event.target.form.submit(); } document.querySelectorAll('.shopify-currency-form select').forEach(function() { this.addEventListener('change', currencyFormSubmit); });
Thank you!
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024