Changing item blocks to different colours for cases

Hi there

I am taking a chance here. I know with the cases section with Quill you change the colours of the item blocks in Customize - Front Page Colours. I was wondering if there was any chance to perhaps have one block in #5c0000 and the next block in #282828 so you have different colours for the item blocks, is there any way of doing this at all? Right now all the item blocks are in #5c0000.

The URL is: www.kradminsolutions.com

Many thanks
Mel

Hello Mel, try to use the following CSS code.

You can add CSS code in Customize → Additional CSS section.

.cases-area .project:nth-child(2n+1) .entry-title {
    background-color: #282828;
}

You can change 2n+1 formula according to your needs, here you can find out how:
https://www.w3schools.com/cssref/sel_nth-child.asp

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.
aThemes Support

Hi Roman,

This has worked beautifully thank you so much :slight_smile:
Best,
Mel

Great! You are welcome Mel! :slight_smile:

Kind Regards, Roman.
aThemes Support