Highlight subtitle text

Hi, because i am using a white font I am having using with the readability of subititle text in the header slider. Many of support issues have resolved this by highlighting the entire box but how can I highlight text only.

I tried to modify this but underlines all block and not text only as I woul like.

 text-slider .subtitle {
    font-size: 16px;
    line-height: 24px;
    padding: 15px 0;
    background: #ff4353;
 }

Thanks to whoever can help me

Hello there,

Try this code:

    .text-slider .subtitle {
        font-size: 16px;
        line-height: 24px;
        padding: 15px 0;
        background: #ff4353;
        margin: 20px 0 30px
    }

Regards,
Kharis

Hi Kharis, thx for the reply. I tried this but it highlights the entire line not text only. Maybe I was wrong…
Please let me know.
Alessandro

Hello there,

Try this code:

    .text-slider .subtitle {
      display: table;
      margin-left: auto;
      margin-right: auto;
      font-size: 16px;
      line-height: 24px;
      padding: 15px 20px;
      background: #ff4353;
      margin-top: 20px;
      margin-bottom: 30px;
    }

Regards,
Kharis