Jump to content

Make dropdown menus click through to first page

Recommended Posts

Site URL: https://hes-test-site.squarespace.com/

Basically I have added code to the site under code injection for header to make first page in folder show when you click on folder name in menu:

 

HEADER

<link rel="stylesheet" href="https://hulo.dev/plugins/folder-title-link/folder-title-link.css">

 

FOOTER

<script async src="https://hulo.dev/plugins/folder-title-link/folder-title-link.js"></script>

 

This works well on all main pages but in the membership area it doesn't as the new membership area dropdown menu already allows for this to occur. Has anyone had this issue and is there code that will fix it?

Please checkout the screen grab. If I click on the HES Academic Quality Forum link at top, because I have the other code injected it goes to a can't be found page. This is the dropdown in the members area.

Is there a work around to maybe change the code so it only changes the main area of the site and not the members area?

 

 

 

 

Screen Shot 2020-12-22 at 10.15.45 am.png

Link to comment
On 12/23/2020 at 3:05 AM, Milkoman said:

Site URL: https://hes-test-site.squarespace.com/

Basically I have added code to the site under code injection for header to make first page in folder show when you click on folder name in menu:

 

HEADER

<link rel="stylesheet" href="https://hulo.dev/plugins/folder-title-link/folder-title-link.css">

 

FOOTER

<script async src="https://hulo.dev/plugins/folder-title-link/folder-title-link.js"></script>

 

This works well on all main pages but in the membership area it doesn't as the new membership area dropdown menu already allows for this to occur. Has anyone had this issue and is there code that will fix it?

Please checkout the screen grab. If I click on the HES Academic Quality Forum link at top, because I have the other code injected it goes to a can't be found page. This is the dropdown in the members area.

Is there a work around to maybe change the code so it only changes the main area of the site and not the members area?

 

 

 

 

Screen Shot 2020-12-22 at 10.15.45 am.png

I already register an account but can't see the page with the green header, where is it

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.