Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Question

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!

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0
<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>

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

I guess you only target to desktop logo class name. Can you share link to your site & which code did you use?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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!
 

Share this post


Link to post
  • 0
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! 

😍

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...