Tagged: blog format
I’d like to do a semi-transparent overlay on featured images in the blog, does anyone have suggestions on how to do that?
Hey tsays,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
Hi Jordan –
Here’s an example blog post: https://avaansmedia.com/twitter-the-best-kept-secret-in-journalist-relations-for-free-press/
I’m trying to figure out how I can add a colored overlay to all featured images in blog posts automatically. There must be a CSS for something like this?
Hi tsays,
https://share.getcloudapp.com/o0umy4E8 There already exists an overlay. Do you need to change it somehow?
Best regards,
Victoria
Hi Victoria –
Yes, I would like the blog template image overlay to be there always (not just on hover) and I would like to change the color.
Hi tsays,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.single-post .post-entry.image-overlay.overlay-type-image {
opacity: 0.5;
background-color: red;
}
You can play with this css to adjust it as you need.
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria – thank you. The code did not work in General Styling>Quick CSS. I’m not quite sure where you’re suggesting I add it as a secondary option? Are you suggesting I edit the CSS directly?
Hi,
Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.
Best regards,
Jordan Shannon