Dropdown Menu transparent —> 100% opacity
-
I have a dropdown menu item (Raw Tapes) that has transparency on the background for the drop-down. This makes it hard to read. I wan the dropdown to be 100% opacity, but no matter what I try, it remains transparent. I’m clearly styling the wrong class, etc.
Can you please suggest the custom CSS I should add to make the drop-down opaque? I also created a two-column layout for the drop-down, which works pretty well, but there may be a better way to do it? If so, please let me know about that as well. But for now, it works. (I don’t like that I had to set a -34px top margin on the float: right column of menu items, because they would stagger without it. Am I doing something wrong with my clear:both?
Here’s the CSS I’ve tried so far… just so you can see what’s not working:@media (min-width: 992px) {
/* Add columns to Drop-Down Raw Tapes */
.sub-menu-columns ul.sub-menu {
display: inline-block;
width: 520px !important;
margin: 0px !important;
padding: 0px !important;
box-shadow: 4px 4px 10px black;
background: rgba(255,255,255,1.0) !important;
opacity: 1 !important;
} .sub-menu-columns ul.sub-menu li.menu-item:nth-child(odd) {
float: left !important;
margin: 0px !important;
padding: 0px !important;
width: 260px !important;
clear: both !important;
background: rgba(255,255,255,1.0) !important;
opacity: 1 !important;
}
.sub-menu-columns ul.sub-menu li.menu-item:nth-child(even) {
float: right !important;
width: 260px !important;
margin: -34px 0px 0px 0px !important;
padding: 0px !important;
clear: both !important;
background: rgba(255,255,255,1.0) !important;
opacity: 1 !important;
}
}Thank you for your time and talent, and your willingness to share with others.
Cheers,
MattThe page I need help with: [log in to see the link]
- The topic ‘Dropdown Menu transparent —> 100% opacity’ is closed to new replies.