Jump to content

Needing Code to turn transparent header opaque when mega menu is open

Go to solution Solved by Molololol,

Recommended Posts


I have a header that I want to be transparent most of the time, except when hovered over or when one of two mega menus is open. I have figured out the css for the hovering as below, but can't yet for the mega menu. The mega menu is from Will Myers. Please advise. 



header#header:hover {
  background-color: #ffffff !important;}


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

Top Posters In This Topic

Popular Days

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.