rodolfogimenez Posted March 2, 2020 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 comment
tuanphan Posted March 2, 2020 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 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!) Link to comment
rodolfogimenez Posted March 3, 2020 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 comment
Solution tuanphan Posted March 4, 2020 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 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!) Link to comment
rodolfogimenez Posted March 5, 2020 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 comment
Mirabal78 Posted March 15, 2021 Share Posted March 15, 2021 On 3/4/2020 at 8: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> Hi, same issue as many others has commented. The solution provided here just work for desktop view (at least for me). Mobile view still redirecting to the cover page. Any idea onto this? Thanks in advance. Link to comment
Mirabal78 Posted March 17, 2021 Share Posted March 17, 2021 On 3/14/2021 at 11:44 PM, Mirabal78 said: Hi, same issue as many others has commented. The solution provided here just work for desktop view (at least for me). Mobile view still redirecting to the cover page. Any idea onto this? Thanks in advance. + @tuanphan Link to comment
tuanphan Posted March 24, 2021 Share Posted March 24, 2021 On 3/17/2021 at 3:39 PM, Mirabal78 said: + @tuanphan Can you share link to your site? 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!) Link to comment
Mirabal78 Posted March 27, 2021 Share Posted March 27, 2021 You already provided the solution. It works perfect! Link to comment
alexaromano Posted May 10, 2022 Share Posted May 10, 2022 I am still having trouble with my mobile logo link. Any success on this? Link to comment
tuanphan Posted May 13, 2022 Share Posted May 13, 2022 On 5/10/2022 at 11:13 AM, alexaromano said: I am still having trouble with my mobile logo link. Any success on this? What is your site url? Each template will need a different code 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!) 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