• Resolved rnmartinez

    (@rnmartinez)


    I have created a slider and set the text and background color to the solid red from the defaults. I was wondering if I can set the opacity for the coloured background using CSS? If so, what am I looking for?

    Also, is there a way to set the width of the colored background? It runs almost the entire screen, there as the text is only a few words.

    • This topic was modified 4 years, 11 months ago by rnmartinez.
Viewing 1 replies (of 1 total)
  • Plugin Author eedee

    (@eedee)

    Hey @rnmartinez,

    you can with custom css.

    1. First add a special class to your slider under the “Advanced” block settings at the very bottom of the slider.
    2. add custom css to your theme or in the customizer, like:

    .special-slider .slide-content > p {
      background-color: <your rgba background color>;
    }

    To set the width of the colored background you can increase the left and right spacing of the content in the “Spacing” block settings.

    • This reply was modified 4 years, 11 months ago by eedee.
Viewing 1 replies (of 1 total)
  • The topic ‘Opacity for slider background text?’ is closed to new replies.