Jump to content

Change color of menu items and background on click

Recommended Posts

I am using the footer as a mega menu via the Will Meyers plug in (https://www.will-myers.com/articles/building-a-mega-menu-in-squarespace-71-free), and I am now trying to change the color of the parent menu as well as the color of the active link in the parent menu on click, and have it reverse when the parent menu item is clicked again.

I am looking to create something very similar to this for the menu: https://thecommondesk.com/

I am assuming I need to use javascript or jquery with a click event, but I can't seem to get it to work after hours of trying. Any help would be greatly appreciated 😃 thank you so much!

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.