Jump to content

7.1 remove dropdown folder link autohighlight

Go to solution Solved by Beyondspace,

Recommended Posts

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

I am trying to make folder dropdown menu where on hover item changes background to black and, therefore, text color to white. I have almost managed to achieve that, except whenever I am located within "Artists" which is a folder with 2 portfolio in it, if I hover over painting or sculptures, the text color turns grey. If im located in "home" and hover over the painting or sculptures, it works fine. The same thing happens if I remove all my css code, the dropdown links are highlighted grey only if I am currently within that folder. Basically, I am trying to get rid of this weird grey color and have it only be white text when I hover.  To summarize, the dropdown highlight behaves differently depending on my current location. I have a feeling this might be some weird squarespace built in feature and I gotta find out how to disable it.
This is my current code responsible for the color within dropdown menu:

.header-nav .header-nav-item--folder .header-nav-folder-content{
   padding: 0;
       padding: .7em 1em;
     background: black;
     a {color: white !important;}

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

Try this

body[data-menu-overlay-theme-switcher="true"]:not(.header--menu-open) .header-nav-item--active a:hover {
  opacity: 1 !important;


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.