Jump to content

Menu Block: Change link color on hover and when active

Recommended Posts

Hi guys, 


I'm styling a Food Menu using the Menu block with multiple tabs, and trying to make my hover link color stay that color when this is the active tab being viewed.  

I've tried this (and a bunch of other ways), but not having any luck...

.menu-block .menu-selector label:hover, .menu-block .menu-selector label:active  {
  color: #020606 !important;
}

Any help would be greatly appreciated!

Link to comment
  • Replies 3
  • Views 713
  • Created
  • Last Reply
4 hours ago, AdamSalumiStudio said:

Hi guys, 


I'm styling a Food Menu using the Menu block with multiple tabs, and trying to make my hover link color stay that color when this is the active tab being viewed.  

I've tried this (and a bunch of other ways), but not having any luck...

.menu-block .menu-selector label:hover, .menu-block .menu-selector label:active  {
  color: #020606 !important;
}

Any help would be greatly appreciated!

Could you share your url?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Replace your CSS, make a copy somewhere, with the following.

.menu-block .menu-selector label:hover,
.menu-block .menu-selector label.menu-select-labels--active

  {
  
    color : #020606;
    
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.