I have added a "REFER & GET 20% OFF" link to the header of this website, but when you click, it won't go to the link. (I have circled the link in red, refer to attached image)
Here is a preview link to my site: https://t7juv4lhlghy1mw5-11985066.shopifypreview.com
Does anyone know how to fix this?
Solved! Go to the solution
This is an accepted solution.
The link is overridden by header nav action
If you are able to, add an onclick function to the link, somthing like this
<a class="refer-a-friend" href="https://apparis.com/pages/refer" aria-describedby="a11y-external-message" onclick="location.href='https://apparis.com/pages/refer';return false; ">REFER & GET 20% OFF</a>