Kindly suggest how to change the font style and size in emails going to customers ? The Text area with product and details have different font and the header and footer is in different font .
I need to change the main text area font – Editing php is only taking bold with code <strong> but not functioning for font style and font size
Please suggest
Thanks
The page I need help with: [log in to see the link]
I understand that you would like to change the font style and size in WooCommerce emails, is this correct?
By default, you can change certain elements, such as the Background color and Body text color, of the WooCommerce email template by navigating to WooCommerce → Settings →Emails and scrolling all the way down to Email Template.
WooCommerce doesn’t have any built-in options for customizing the font style and font size, and this would require customization.
Please note that custom code is outside the scope of our support we are able to provide however, you can try the following custom code and change the values (size and font-family) to your preferences.
You can add this code to your child theme’s?functions.php?file or by using the?Code Snippets?plugin. Please don’t add custom code directly to the Storefront theme’s functions.php file as this will be wiped entirely when you update the theme.
Here are the results before adding the code:
Here are the results after adding the code:
Additionally, you can read more on customizing WooCommerce emails here.
Certainly! Here is an adjusted code that includes a line-height property to add some spacing between each line of text. You can replace the Changing the font size custom CSS previously provided, with this:
You can adjust the line-height value to whatever you prefer to add more or less spacing between each line of text.
Additionally, since this topic relates to WooCommerce and not Storefront, in future, please can you create a topic in the WooCommerce forum for any WooCommerce core related support.
Here is a direct link to creating a topic in the WooCommerce core forum ??
Cheers!
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Font style and size in email Only’ is closed to new replies.