• Hi,

    is it somehow possible, to configure the opacity on (static) pages?

    at the moment, they are just plain white (and I cannot configure them via Customizer -> Colors -> Background Color)

    thanks a lot

    Nicolsa

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dgttm

    (@dgttm)

    I found it somehow. When I add opacity = 0.x; to the .main-wrapper part, the background of a Page gets the opacity.

    but also the text inside my article gets the same opacity.

    So now the question:

    May I change the opacity ONLY of the background, but not of the text?

    .main-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin: 0 auto;

    -webkit-flex-flow: wrap;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    opacity: 0.5;
    }

    Theme Author cats_456

    (@cats_456)

    dgttm, hi. You can do it by using rgba colors and opacity:

    .main-area {
      background-color: rgba(255,255,255,0);
    }

    This code should make background transparent and you will see background color of website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Opacity on (static) Pages’ is closed to new replies.