Jump to content

Adding a Home Button on Jones Template

Recommended Posts

I wanted to ask for help in adding a Home button to the Jones template.  

I have several pages and use the primary navigation to move between the pages. 

With help from the forums, i added the following code so that the logo can be used to navigate home, however when testing it wasn't very intuitive and users didn't know to click on the logo. 

Is there a way to add a conditional "Home" link in the primary navigation that displays only when the user is on pages outside of the homepage that can be used to return home? 

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
 <script>
   $(document).ready(function () {
           $(".logo-image a[href]").attr("href", "http://www.google.com/");
         });
 </script>
Link to comment
  • Replies 1
  • Views 309
  • 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.