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 am trying to apply css to any table row with a class of component-type-commerce-coupon-*
. For example, it could be component-type-commerce-coupon-pct-vegas
or component-type-commerce-coupon-pct-newyork
.
According to CSS3 Substring Matching Attribute Selectors, I can match a substring with a selector. I can add tr[class*="component-type-commerce-coupon"]
to my regular css and it does indeed affect those rows.
However, when I add that same selector to my mail.css, Mimemail seems to ignore it. I am assuming this is a bug?
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedThis functionality is based on Emogrifier (with some changes here and there) which only supports CSS1 level selectors and a few CSS2 level selectors.
Comment #2
sgabe CreditAttribution: sgabe commented