I was hoping you could help me with two CSS codes I found on the forums that I can’t seem to get to work together. I really like the featured post widget, however, I thought the images were too dark and I would have preferred to be able to click on the pictures as well as the text. I used this guide to help remove the dark overlay, and this guide to make the pictures clickable as a link to the post (though this solution made the text not-clickable, and I would prefer to have both the text and the photo act as links if possible).
Both solutions work perfectly on their own, however, when I try to add them both together only the later one (the image-links) still work, the widget returns to being dark. I’m pretty new to CSS so I might not be adding it properly, what I do is go to Customize > Additional CSS and add the first CSS code (lines 1 to 3), then add the second CSS code starting on line 4).
Do you have any recommendations on how to add these two CSS codes so that they both work together?