Aah, now that would make a little more sense. Thanks Mark. I'll spend the afternoon trying to split things up, shorten class names and anything else I can think of. The fun that is.
Thanks Mark, that's good to know. A 16mb limit? I'm thankfully not there yet, but do seem to be having the same problem.
I had the CSS split down into a desktop and mobile sheet. When put in separate style tags in that order...
the desktop styles render, but not mobile. When reversed, I get the opposite effect.
I've tried throwing in a stub, single-line sheet before all that to see how it copes, so it goes
<style>single line css</style>
The result of this is that only the single line css is rendered, and neither the desktop nor mobile css is.
The combined compiled css is 19kb, so file size doesn't appear to be the issue.
I think it's back to the drawing board with a bare bones email to see how it handles multiple stylesheets.
Dan, thanks so much for looking at that, and apologies also for not having caught that one myself. I couldn't be more grateful to you.
I've just checked with another test, and it's a print media query that's stripping out the background color and which Yahoo mail seems to be reading irrespective of media. So to start with that's coming out, and I can go back to the drawing board on the print styles.
We're a UK based site so a gift voucher probably isn't much use to you, but if you have any place I can leave you something by way of thanks just drop me a line.
Thanks Dan. I've sent you a production email from our latest send (we're a daily deals company, don't judge).
This is a build prior to me trying anything on the body tag, but the Litmus tests suggests that's not fixing anything for me.
I've also done some local dev to add the table-layout: fixed. Again, this hasn't helped any with the background color, and whilst it's corrected the centre-align issue its also introduced a gmail issue. But that's besides the point really, it's the background color issue that's more problematic.
Thanks Mike. I must admit the I didn't have it set on body, but unfortunately doing so this morning has made no difference. It's specifically in Yahoo on Chrome, and applies to all elements which should have background color, from the wrapping table down to the buttons within. Quite frustrating.