This code is generated by a wordpress slider plugin when I enter a caption for an image.
<div class="bx-caption" style="color: rgb(0, 0, 0); font-size: 14px; font-family: 'Open Sans'; background-color: rgb(255, 255, 255);">
<span class="caption">This is a newspaper image</span>
</div>
If I put css like this:
div.bx-viewport .bx-caption {
background:#5e7f6c !important;
padding:1em;
display:block;
opacity:0.5;
}
div.bx-viewport .bx-caption .caption {
color:#000;
opacity:1.0;
}
it won't work :-) I want the text not be transparent, only the div.bx-viewport. Is this possible?