I am using grid layout in index.php file (please see attached code in pastebin link below for this layout).
It has 2 rows and 3 columns of excerpts which make 6 blocks on the home page. I need to have different background colors in each of these blocks. Is it possible?
Perhaps if i assign a catagory to each excerpt/post and then get some code to display different background color. But I am not sure how… Please can anyone suggest how to do this? Thank you.
- The topic ‘Different bg color for each block in a grid layout’ is closed to new replies.