Thank you so much for your response. At first I thought that I probably had a CSS conflict, so I stripped the styling from the div and played around with your sample code until I had a sequence of background colors.
Here’s the div I started off with from the static page where each article summary had a different color:
<div class="row hentry light" s t y l e="background-color: #e6e65c;">
Then I realized that I had used double quotes inside the switch variable and that I had followed up the switch variable with a colon—similar to the code for the static page. Here’s the exact code as I pulled it from being commented out. This code rendered all white:
<div class="row hentry light" s t y l e="background-color: {switch= “#e6e65c|#CCFF66|#ffc100|#c2c2a3”};">
So I pulled out the semi-colon and replaced the double quotes with single quotes and everything worked as intended:
<div class="row hentry light" s t y l e="background-color: {switch='#e6e65c|#CCFF66|#ffc100|#c2c2a3'}">
Then I put the double quotes and the semi-colon back in one at a time so I could determine the culprit. What has me baffled is that the original code that rendered white would now render the colors as intended. Any ideas?
P.S: By the way, I have yet to be able to post any code with “style” in it, until I noticed that you had separated the letters “s t y l e.” Thanks for that tip as well.
Thanks,
MikeCJ