Reply To: Adding the post image section to content.php

Home Forums Support Adding the post image section to content.php Reply To: Adding the post image section to content.php

#230789
Tom
Lead Developer
Lead Developer

You could theoretically use the :before pseudo selector instead of adding a span:

.post-image img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba( 255,255,255, 0.5 )
}

Let me know if that helps or not πŸ™‚