I'm trying to apply the opacity to my background image. I've tried using rgba, and the pseudo-class after. Is there any other way to apply this filter only to the image without affecting the content?
This is HTML
<div id="banner" style="background-image: url(wp-content/themes/enepe/images/bg_header.jpg);">
And CSS
#banner{
width: 100%;
background-repeat: no-repeat;
background-size: cover;}