Recently, I created a menu block element and decided to apply an opacity of 0.4/40 to it.
However, I encountered an issue where the text within the menu block was also affected by the opacity. My aim is to have the opacity only impact the menu block itself, leaving the text unaffected.
I went through my code again to check for any missed details but couldn't find anything obvious. Below is the snippet of my code:
#menuLeft{
background-color: #33AAEE;
float: left;
width: 20%;
clear: both;
opacity:0.4;
filter: alpha(opacity = 40);
}
If anyone has a solution or workaround to keep the text color unchanged while excluding it from the opacity setting, I would greatly appreciate your guidance.
Thank you!