workdp Posted August 16, 2021 Posted August 16, 2021 Site URL: https://www.ofnoevil.com Hello, Need help with changing the logo-text header link to a different page (not the homepage). I have tried the following code, but it changes all the a-href links for all the link within the main navigation, I'd like this to only be applied to the top logo text. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".site-title a[href]").attr("href", "/video"); }); </script> Any help is appreciated. Thanks!
tuanphan Posted August 17, 2021 Posted August 17, 2021 change this class Quote .site-title a[href] to this Quote #logo 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!)
ebijnen Posted September 3, 2021 Posted September 3, 2021 @tuanphan could you help me out a bit? I'm trying to reproduce your instructions but I'm kind of lost as to where I should insert them. For context: I'm trying to create a bilingual site, so for visitors the logo on specific pages should direct them to the respective language's homepage instead of the landing page.
tuanphan Posted September 5, 2021 Posted September 5, 2021 On 9/3/2021 at 4:03 PM, ebijnen said: @tuanphan could you help me out a bit? I'm trying to reproduce your instructions but I'm kind of lost as to where I should insert them. For context: I'm trying to create a bilingual site, so for visitors the logo on specific pages should direct them to the respective language's homepage instead of the landing page. Hi. With multi language site, you can follow this guide. https://www.bradgood.net/articles/multi-language-content-on-any-squarespace-template 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.