Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi - I'm trying to link the logo on my shopify site to an external website and cannot figure out how to do it. I found some directions from last year to locate header__heading-link link link--text focus-inset and replace it with the external URL but that did not work. Please let me know if there's a way to do this. Thank you!
Hello @LeighRC,
Greetings from the Store Watchers Support Team! Happy to help you today.
Go to Online Store -> Actions -> Edit code. Then find theme.liquid.
In your theme.liquid file, please paste the code below before the </body> tag.
<script>
setTimeout(() => {
var logo_link = document.querySelector('.header__heading-link');
logo_link.href = 'http://your-external-link.com';
}, '1500');
</script>
Note: please update http://your-external-link.com with your actual URL.
Let me know if need further assistance
Regards,
Store Watchers Support Team
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025