Jump to content

Menu Block: Change link color on hover and when active

Recommended Posts

Posted

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!

  • Replies 3
  • Views 825
  • Created
  • Last Reply
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

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.

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.