Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
felcama

Bedford: how to change drop down menu background opacity using CSS code?

Question

5 answers to this question

Recommended Posts

  • 0

Thanks for your help, Jonathan.

I tried and it worked, but I was looking for a slightly different effect. Your rule controls the transparency of the background box and the typeface all together. I would like to set the transparency of the background box to "0.1", make it almost invisible, but keep the typeface, the actual menu subitem name, 100% visible. Do you think that's possible?

Thanks again,

Felipe

Share this post


Link to post
  • 0

Well. Felipe, I don't know how I managed to look at what I was doing and yet not see. You're absolutely correct.

Try this instead:


.subnav {background-color: rgba(0,0,255,0.1) !important;}

Then you might find the following page helpful for explaining how that rgba color syntax works:

http://www.w3schools.com/cssref/csscolorslegal.asp

Basically, the values are red, green, blue, and an opacity.

Edited by JonathanGennick

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...