Hi!
Would it be possible to add an overlay to blog images, but only in the 1-column grid layout, and only on the homepage. So, when the post is opened, the image is displayed without the overlay?
Regards
Poirot
Hey Poirot!
That would take a lot of time and code to implement so it would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization.
Regards,
Elliott
Ok, thank you Elliott!
I gave it a shot, but obviously it didn’t work :-)
img.attachment-large.size-large.wp-post-image:after {background:linear-gradient(135deg, rgba(255,101,100,0.4) 0%, rgba(255,101,100,0) 50%, rgba(255,101,100,0) 100%),linear-gradient(45deg,rgba(40,0,215,0) 0%, rgba(40,0,215,0) 50%, rgba(40,0,215,0.4) 100%),linear-gradient(transparent 5%, rgba(0,0,0,0.8) 100%);content:”gradient mask for lede image”; position: absolute;top: 0;bottom: 0;left: 0;right: 0;}
Edit: As an alternative, would it be possible to upload 2 featured images (one with overlay, other without)? One would be used on the homepage, the other when the post is active.
Regards,
Poirot
Hi Poirot,
I’m not sure but either method would be a big project unfortunately, it would be considered custom work and out of scope of theme support. If you still want to pursue this I would recommend you to hire a freelancer to see if they can help you out.
Best regards,
Rikard
Ok, thank you Rikard!
Best regards,
Poirot