Overlay for text

Hi Vlad!
Can you help me please?
How can i make overlay under the slider text only?


Something like this:

.text-slider {
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 15px;
    margin-bottom: 15px;

Thank you very much! It works great

Vlad, but how can i make an overlay just under words to make it looks better?

You can look what i mean here