Jump to content

How do I Make Folders Clickable?

Recommended Posts

  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

Site URL: https://www.kaifilms.com

I am having this issue. Trying to make the folder link clickable. I have two instances of this on my site (services and about folders) and was wondering if anybody can help me. I have tried all the code I could find in this forum and others and no luck yet.

The end goal is to have my folder title click to the first page in the folder. So Services goes to Services/services page. I also want to keep the folder drop down intact and will work on mobile.

Thanks so much.


Link to comment

Use this (Settings > Advanced > Code Injection > Footer)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
$(document).ready(function() { 
	$('a.header-nav-folder-title[href="/Video-Services"]').click(function() {
		window.location = "https://www.kaifilms.com/video-services";
	$('.header-nav-folder-title[href="/about-kai-films"]').click(function() {
		window.location = "https://www.kaifilms.com/about";


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...
2 hours ago, kraftpotenzial said:

I try to make the folder clickable and on the click it should link to the first page in the folder.

What is the version of your site? v7.1 or v7.0?

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.