Posted: May 20, 2021 at 10:14 am
Hi there, I would like to see the css for the email messages, but can’t find the file in the plugin. Can someone please give me the location. I found this post with steps on how to register the new css with updates. I would prefer to simply enqueue a new css file as opposed to registering my own plugin or template files. PS: This part of the documentation:
|
|
I figured out the location of the files. |
|
Hi there, Modifying the core files of the plugin is generally not a good idea, those modifications will be lost each time the plugin updates. The thread you linked to above allows you to load your own custom CSS file within your theme (preferably a child theme) without modifying core, so yes, that would be the best way to do this. That function replaces the original CSS file with your own.
I think the intention for that code was for a developer familiar with how WordPress plugins would normally enqueue scripts and styles as there is nothing out of the ordinary for that function, something like:
Allows you to register and enqueue a custom style from your theme’s root directory which will load after the original. |
|
The support post ‘Locate and modify the email message CSS’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.