Anchor links not working on Safari in Customize with code Posted September 19, 2023 Hey I found this solution on another thread that ended up fixing it for me. use this code to Code Injection > Footer <!-- by @nhannhot-tuanphan --> <!-- fix anchor links on iOS --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(() => { function scrollToAnchor(aid){ var aTag = $(aid); $('html,body').animate({scrollTop: aTag.offset().top},'slow'); } scrollToAnchor(location.hash); }) </script> LDRO and tuanphan 2
Anchor links not working on Safari
in Customize with code
Posted
Hey I found this solution on another thread that ended up fixing it for me.
use this code to Code Injection > Footer