How to make content in flybox 100% opaque with partially transparent background
-
Hi Cyle – I’m trying to make the text and buttons in my wp-flybox 100% opaque while the background is 80% opaque.
I thought that the “Background color (if visible)” setting of “black;opacity:0.80;filter:alpha(opacity=80);” would apply to the background only and not the elements. I also defined the following CSS for the DIV where the content is:
.wpFlyOutDiv {
width:450px;
height:618px;
background-color: black!important;
background: rgb(0, 0, 0)!important; /* Fallback */
background: rgba(0, 0, 0, 0.8)!important;
}thinking that the transparency would only apply to the background, but the buttons and text are also partially opaque instead of 100% opaque.
Maybe you have a suggestion? Maybe I need to do some layering with z-index?
My site is at: https://www.thecollaborative-demo.com/
Thanks in advance for your help with this!
- The topic ‘How to make content in flybox 100% opaque with partially transparent background’ is closed to new replies.