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

Harris Template: Folder Linking in Nav Bar

Question

Greetings,

I was previously using the details described in this thread https://forum.squarespace.com/topic/11723-how-do-i-link-a-folder-title-within-the-navigation-to-a-page/
to get nav-bar menu's to link to "parent" pages. It was working for several months on the Harris template, and today I've noticed it is not.

www.redclovertech.net

Examples are the Solutions and Support folders, which should link you to /solutions and /support

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Hey, this video will help with that issue. Your code will be slightly different because of your template, it'll be like the following.

folder-toggle-label

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
  $( document ).ready(function() {
    $(".folder-toggle-label").eq(0).prop('href', '/first-folder-link');
    $(".folder-toggle-label").eq(1).prop('href', '/second-folder-link');
  });
</script>

 


If an answer I provide helps you, please mark it as the answer so others can easily access it as well.

I'm a Squarespace Authorized Trainer, a Squarespace Expert, and a Circle Member and I would love to help you in any way I can.

Book Live Help | Squarespace Video Tutorials

Share this post


Link to post
  • 0

Hi! I did exactly as you have shown on my site built with Harris template - not seeming to have any luck. Would you be able to take a look? intoitspace.squarespace.com. (password is pass)

 

Here's my code (copied from you - the class is the same name I believe)

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

<script>
  $( document ).ready(function() {
    $(".folder-toggle-label").eq(0).prop('href', '/services');
  });
</script>

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