Support » Plugin: WordPress Slider Block Gutenslider » Opacity for slider background text?

  • Resolved 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 1 month, 3 weeks ago by rnmartinez.
Viewing 1 replies (of 1 total)
  • Plugin Author 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 1 month, 2 weeks ago by eedee.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.