Jump to content

Changing logo and home link on top nav to redirect elsewhere

Recommended Posts

Site URL: https://www.munchum.com/home-1

I'm building a separate landing page and would like when you click 'home' or the logo, for you to be redirected back to the current page.  Right now, they both point at my main home page 

I tried the following, but it didn't work

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

<script>$(document).ready(function () {
         $(".logo a[href]").attr("href", "/home-1/");
       });
</script>  
<script>
  
$("a:contains('Short Pause')").attr("href", "/home-1/");
</script>

Link to comment
  • Replies 1
  • Views 535
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.