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/");
$("a:contains('Short Pause')").attr("href", "/home-1/");

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

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

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