In order to have some formatting switch appropriately between light and dark versions of the site, I’m using a variable that references some config things. (As always, great support by Ahmad of Aspire Themes.)
The variable works great on the site: blue accent for light, orange for dark.
But, in the email, the formatting disappears completely – as in, not there at all.
If there were a web-only card, I could put two cards in, one for the web site and one for email. But, since there isn’t, I’m stuck.
Here’s an example of the code I’m referencing:
style="border-top: 3px solid var(--color-accent)!important;
Thoughts?
The html card can be set to web only.
Good point – I’d forgotten that.
BUT, the email-only card just takes text. Not sure how to do the content in it that is in the HTML card.
Right now, all the content in the HTML cards come through in the email – except the borders (where I used the variable). I mean, it’s not a huge deal; I just think it’s interesting that all the rest of the HTML comes through except the borders.
::
Update: Sent the newsletter to my Gmail account and looked at it in the browser. All the stuff appeared to be in the email – except the borders.
Like I said, not a big deal. Email still looks good. I’m just enough of a geek to want to solve things. 