Jump to content

Folder Link

Recommended Posts

  • Replies 8
  • Views 552
  • Created
  • Last Reply
24 minutes ago, TheGoodStudio said:

Hey Derrick, because I don't want to have Service and then Service underneath that folder name (Doubling up).

Cheers.

Make the first link "Consultation" maybe? This comes up all the time and it is a problem, you might be able to get it so clicking the folder takes you to the first item in the folder but to a link not in the folder? Not going to happen in my opinion. 

 

Link to comment

Add to Home > Settings > Advanced > Code Injection > Footer

<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="/services-1"]').click(function() {
		window.location = "https://beaverhero.com";
	});
});
</script>

Replace with your url

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
On 5/13/2020 at 9:47 AM, tuanphan said:

Add to Home > Settings > Advanced > Code Injection > Footer

Do you have a solution without JQUERY ? in plain JS


<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="/services-1"]').click(function() {
		window.location = "https://beaverhero.com";
	});
});
</script>

Replace with your url

 

Link to comment

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.