rodolfogimenez 0 Share Posted March 2, 2020 Site URL: http://konekretouch.com I've found a script that allows me to redirect the link on my logo to other pages instead of my cover page. However, it doesn't seem to happen when I access the mobile version. Does anyone know how to change the link on the mobile version logo? I'm using the York template. Thanks! Link to post
0 tuanphan 9,005 Solution Share Posted March 4, 2020 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo-image [href]").attr("href", "https://www.konekretouch.com/work"); $(".mobile-logo-image [href]").attr("href", "https://www.konekretouch.com/work"); }); </script> rodolfogimenez 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 tuanphan 9,005 Share Posted March 2, 2020 I guess you only target to desktop logo class name. Can you share link to your site & which code did you use? rodolfogimenez 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 rodolfogimenez 0 Author Share Posted March 3, 2020 15 hours ago, tuanphan said: I guess you only target to desktop logo class name. Can you share link to your site & which code did you use? Sure. http://konekretouch.com Logo link should point to https://www.konekretouch.com/work And here's the code: <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo-image [href]").attr("href", "https://www.konekretouch.com/work"); }); </script> Thanks! Link to post
0 rodolfogimenez 0 Author Share Posted March 5, 2020 On 3/4/2020 at 10:32 AM, tuanphan said: <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo-image [href]").attr("href", "https://www.konekretouch.com/work"); $(".mobile-logo-image [href]").attr("href", "https://www.konekretouch.com/work"); }); </script> PERFECT! Thanks a million! 😍 Link to post
Question
rodolfogimenez 0
Site URL: http://konekretouch.com
I've found a script that allows me to redirect the link on my logo to other pages instead of my cover page. However, it doesn't seem to happen when I access the mobile version. Does anyone know how to change the link on the mobile version logo?
I'm using the York template.
Thanks!
Link to post
Top Posters For This Question
3
2
Popular Days
Mar 2
2
Mar 3
1
Mar 4
1
Mar 5
1
Top Posters For This Question
rodolfogimenez 3 posts
tuanphan 2 posts
Popular Days
Mar 2 2020
2 posts
Mar 3 2020
1 post
Mar 4 2020
1 post
Mar 5 2020
1 post
Popular Posts
tuanphan
I guess you only target to desktop logo class name. Can you share link to your site & which code did you use?
tuanphan
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>$(document).ready(function () { $(".logo-image [href]").attr("href", "https://ww
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment