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

Changing logo and home link on top nav to redirect elsewhere


kal2ennn

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...