TomBeauchamp Posted January 16, 2021 Posted January 16, 2021 Site URL: https://www.hellocareerguru.com We are moving to a site not using the Squarespace templates and are retaining legacy blog and podcast bages within the Squarespace templates. All redirects are working with the exception of the legacy logo continuing to direct to the Squaresapce home page instead of the externally hosted home page. Can this be accomplished with javascript in theheader of the Squarespace template? A sample script would be greatly appreciated.
tuanphan Posted January 18, 2021 Posted January 18, 2021 Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.navbar-brand').attr('href','https://beaverhero.com'); }); </script> Replace with new url Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.