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:
Enqueue your own styles or scripts via this hook (and just add the regular wp_enqueue_style() etc in your function):
AHEE__EE_Html_messenger__enqueue_scripts_styles
That should load any CSS scripts/styles AFTER the messages styles/scripts.
on https://eventespresso.com/wiki/how-to-create-a-custom-message-template/
is very confusing. An code example would be better.
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.
PS: This part of the documentation: … is very confusing. An code example would be better.
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.
Viewing 2 reply threads
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.
Support forum for Event Espresso 3 and Event Espresso 4.