• Hi folks,

    I’ve got a static front page with a featured image and a post. The post has a white box background, covering up part of the image. I’d like to make this box fully or partially transparent.
    I’m having trouble finding the right css bits to style this. Does anyone here have an idea?

    the website is https://www.dance-fit.nl and it’s on the main front page.

    cheers.
    Robin

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    This should do the trick in your custom CSS:

    .home .hentry {
      background-color: rgba(255, 255, 255, 0.5);
    }

    You can change 0.5 — which indicates 50% opacity — to whatever you prefer. You can also change the RGB values (255, 255, 255 means white) to another colour if you like.

    Let me know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Transparency of hero post’ is closed to new replies.