Site icon Catch Themes

Text background on header highlight content

Lets see if I can explain this in an understandable way. I am using header highlight content and sometimes get the problem with white text on a light background and would like a slightly transparent background under the text. In another setting I found the css code background: rgba(0,0,0,0.5); that does just that, but I don’t know enough about css to manage to implement it. Can anyone help me? I got this css snippet from you:
#header-highlights-content .entry-header {
    background-color: rgba(0,0,0,0.5);
}
It worked but was not entierly what I was looking for. Is it possible to either make it 100% width of the background image?
Exit mobile version