Jump to content

Major Bug With Custom Email CSS


Serenade

Recommended Posts

I've been messing around with this for hours, and I have come to conclusion there must be a bug with WHMCS. I have about 30 lines of custom CSS which I have tried putting in both the "Global Email CSS Styling" area, and in the <head> tag within the "Global Email Header Content" area. I have also tried using compressed and uncompressed CSS. Without fail, it will not work.

 

I attribute this to being a bug since the email appears fine in Utilities -> Email Message Log, but indifferent of the receiving email client the CSS is not being passed.

 

I have a very important email I need to send within the next 24 hours, and this is a very big problem for me. If anyone could shed some light on this, has a workaround such as hardcoding the css somewhere, or any ideas at all it'd be much appreciated.

Link to comment
Share on other sites

@media queries not supported by many email clients

Unfortunately, media queries don’t work everywhere. The most notable, and frustrating, lack of support comes from Gmail—both online in a browser and in the Gmail apps for Android and iOS devices. Gmail is famous for stripping out the head section and any styles and media queries contained within. And, with the introduction of Inbox for Gmail, we can add one more client to that list. There is some talk of Gmail revising their CSS policy, but until that actually happens, designers need to be aware of support for media queries.

 

try to use wide layout

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated