TomBeauchamp Posted January 16, 2021 Share 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. Link to comment
tuanphan Posted January 18, 2021 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment