Customize with CSS
Last updated
Last updated
There are various options for global design. But if you would like to dive deeper to achieve a sophisticated design, you can consider using CSS to further customize the email elements.
If you wish to change the text link color of the customer's email address and phone number, you can add this CSS snippet:
Just navigate to the Settings tab, enable Custom CSS, add the CSS to the box, and click Save.
Refer to the screenshot below, I'm changing the text link color into green.
Likewise, you can also change many aspects like removing the underline, turning them into bold font, and so on.
If you want to hide the table border or change the design of the order item table, consider applying these CSS:
And here are the end results once you applied the CSS above.
To hide the quantity column, you can apply these CSS and PHP snippets.
In YayMail settings, enable Custom CSS, and add this CSS:
In your theme editor, open functions.php
and add this filter:
To change the font size of the order table, in YayMail settings, enable Custom CSS, and add this CSS:
To change the font size of the Billing address and Shipping address, in YayMail settings, enable Custom CSS, and add this CSS: