[Support request] Image Overlay

Home Forums Support [Support request] Image Overlay

Home Forums Support Image Overlay

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1234087
    Ram

    Is there any way to add a black overlay over the image? so that the text will look brighter.

    https://snipboard.io/iXtgK8.jpg

    #1234464
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .post-image {
        position: relative;
    }
    .post-image:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.