Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

Comcast Xfinity Webmail and !important


Total Posts:  21
Posted: 12 January 2018 01:28 PM

Comcast webmail is stripping the !important declaration from the css.  It does not matter if there is a space before it or I remove the that space so I have for example “mobile: {display:none!important;}”.  End result is Comcast output is “mobile {}” missing the whole display property and if I have “display: none !important;” it outputs “display: none;” without the !important. 

This is causing an issue with media queries for layouts when I have styling inlined where I can’t override the inlined styling with the media query. 

This appears to be recent because I don’t remember having issues with Comcast in the past when I use the code for mobile first approach and use media queries / the [owa] trick and conditional comments in outlook to display the desktop layout.  End result now is, mobile layout is being shown on Comcast.

Anyone have more information on this?