Different colour gradient on post images
-
Hi,
I’m looking to create a background colour gradient overlay on images in a post archive and post carousel. Additionally, I’m trying to get each post thumbnail to have a different colour gradient, or otherwise have five different colour-gradients and have them repeat after every five. Could someone please help with the CSS?
To begin with I tried to create a single background colour-gradient to the post images with the following CSS, but with no luck;
.post__body .post__thumbnail {
background-image:
linear-gradient: (45deg, #ae7ca2 50%, #6050f2 50%) !important;
}Thanks in advance for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Different colour gradient on post images’ is closed to new replies.