Home › Forums › Support › Adding the post image section to content.php › Reply To: Adding the post image section to content.php
September 30, 2016 at 4:28 pm
#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 🙂