Jump to content

Dropdown menu 50% transparent

Recommended Posts

Hi,

I have the code to make the background of the dropdown menus on the main page transparent.

.header-nav-folder-content {
  background: transparent !important;
}

I am looking to see if there is a code or an adjustment to this code so that the background can be 50% transparent?

thanks!

 

Link to comment

nevermind I got it!

/* Dropdown color */
.header-nav-folder-content {
background-color: rgba(0,0,0,0.5) !important;

 

you can also search rgba color picker tool.  you will get 3 numbers.  Put those instead of the first three zeros, and then the last one sets the transparency (so .1 is more transparent than .5).  Don't know what I'm doing but this worked for me at least haha

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.