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

How can i change the logo link destination - JASPER Template

Question

I know that there have been threads on this, but I can't seem to get any to work. It keeps taking me to my cover page (that is my landing page when u click on the domain but its an unlinked so it's not part of my navigation). Do you guys have any solution? Thank you.

https://www.nfellows.agency

@danieljs ?

Edited by jacobbjerring
Initial Revision

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

First, head to Design > Style Editor and make sure "Enable Ajax Loading" is unchecked. If Ajax is enabled, the code won't work.

Then, head to Settings > Advanced > Code Injection and add the jQuery library to the Header section if it's not there already. You can add it by pasting this snippet in:


<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Below that, in the footer section, we'll add the snipped that changes the link destination by pasting in:


<script>
$("img[alt='N\'fellows']").parent().attr("href", "/collective/");
</script>

Save your changes and test it out. Let me know how it goes.

In the future, please don't tag other users in your questions. Thanks!

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...