Jump to content

Make a folder in navigation it's own page?

Recommended Posts

Posted

Site URL: https://carinaboutiquetesting.squarespace.com

I'm trying to make the navigation item clickable AND a dropdown. Ideally 'weddings' could be clicked, and brought to it's own weddings page. The dropdown items have their own pages but are supposed to be grouped with 'weddings.' I tried a few solutions from several years ago as that's all I could find on here and none of them seemed to work. One included renaming the folder with a custom code, another had me add a link under the folder. Hoping someone else knows a solution?

PW 12345

Thanks 🙂

Screen Shot 2022-10-14 at 5.19.07 PM.png

Posted
On 10/14/2022 at 6:15 PM, creedon said:

Please see the following.

Let us know how it goes.

@creedon I think I got it! I was able to use this, and just changed it to weddings-1 and weddings, respectfully. will try this with 'special occasions' too!

 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() { 
	$('.header-nav-folder-title[href="/weddings-1"]').click(function() {
		window.location = "/weddings";
	});
});
</script>

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.