• Resolved Anonymous User 20702716

    (@anonymized-20702716)


    Hello,

    is there a way to style the email notifications with CSS? Everytime I try this, all styles are vanished after saving.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello there,

    You can style the email notification template using inline CSS. Please go to Dashboard > Support > Email Notifications > Ticket Notifications. Click on edit for any ticket notification, here you will get the option “visuals” and “Text”. Please click on the “text” to edit using inline CSS.

    Thread Starter Anonymous User 20702716

    (@anonymized-20702716)

    Hi, thanks for the reply! Any inline CSS that I apply gets cut off after saving.

    Thread Starter Anonymous User 20702716

    (@anonymized-20702716)

    I have to rectify:

    Some inline CSS gets cut off, like e.g. “border-image: linear-gradient(orange, blue) 30;” in a table element.

    Some inline CSS works indeed. Thank you!

    Hello there,

    Sorry for the delayed response.

    You can use basic properties like font-size, border, font-family, border style, etc.

    But the other properties will be stripped out by wordpress function as we have used the sanitisation function to validate user data.

    Thread Starter Anonymous User 20702716

    (@anonymized-20702716)

    Thank you! I found a workaround to create a border with a gradient by just using an image.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Style email notifications with CSS’ is closed to new replies.