Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm hoping someone can dumb this whole thing down for me. It seems really straightforward but I can not get any CSS I put in the Style section of the settings to work. Header and footer—no problem. But anything I put in for the style (even as simple as a background color) doesn't stick. It looks like all of the CSS from my site is loaded into the message and overrides any changes I make in the style section.
Hoping someone I can get help understanding this and getting it to work for me.
Thanks in advance for the help.
Comments
Comment #1
Wilfred Waltman CreditAttribution: Wilfred Waltman commented+1, I have exactly the same problem.
Comment #2
mansspams CreditAttribution: mansspams commentedstill same here :( css is unsecure and is probably stripped somewhere
Comment #3
Avalanche CreditAttribution: Avalanche commentedDitto. I can't make the change in the CSS style section work either, but I got around it by inserting my own style rules into the header.
Here is a copy of mine, edit to your own liking and DIV labels:
Comment #4
krembo CreditAttribution: krembo commentedHi! I did exactly the same, but it is not working for me... All styles just dropped in the email.
Did you you use classes or ID-s?