Jump to content

How can i change the background color for items in a folder on mouse hover.

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://deer-vibraphone-gcr3.squarespace.com

squarespace 7.1 fluid

pw: Art-is-Joyful

I have a folder in my top nav.  I made the folder "non clickable " with this code

a.header-nav-folder-title {
    pointer-events: none;
}

now when the mouse hovers over an item in the drop down, i'd like it to change the background color to users can see what item they are selecting. when the mouse moves off the item the background should change back to default . 

 

image.png.09b76726660f9554a39ce05ba5ce22ef.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
3 hours ago, genfoch01 said:

Site URL: https://deer-vibraphone-gcr3.squarespace.com

squarespace 7.1 fluid

pw: Art-is-Joyful

I have a folder in my top nav.  I made the folder "non clickable " with this code

a.header-nav-folder-title {
    pointer-events: none;
}

now when the mouse hovers over an item in the drop down, i'd like it to change the background color to users can see what item they are selecting. when the mouse moves off the item the background should change back to default . 

 

image.png.09b76726660f9554a39ce05ba5ce22ef.png

Try adding to Home > Design > Custom Css

.header-nav-folder-item:hover {
  background: #C3C3C3;
}

Let me know how it works on your site

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.