Would it be possible to have different background colors for even/odd blocks in same region using css?
So say, 1st, 3rd, 5th...block would have grey BG, while 2nd, 4th, 6th...would have blue?
Thanks
Amir
Something like this should work...I think?
#block-region-side-pre .block:nth-child(even) {
background: red;
}
#block-region-side-pre .block:nth-child(odd) {
background: blue;
}
#block-region-side-post .block:nth-child(even) {
background: green;
}
#block-region-side-post .block:nth-child(odd) {
background: yellow;
}
Edit: