$w.box Border color code not updating

So, this is the code used to update the border color of a box - It works in editor preview, but not on published site…(also note it was working fine from the 5th of march until today):

$w(tile_id).style.borderColor = results.items[3][currencylist[symbol]];

Here is what the page looks like in the editor (with border color working as intended):

Here’s what it looks like on the published site:

As you can see the border colors are not working?

Does anybody have a solution to this? It works fine for just 1 card but it’s irregular and doesn’t show on the others.

1 Like

Had this issue as well would also like to know the answer

Is that element a repeater or are they single cards fed an array?

They are single cards