Support

Home Forums Event Espresso Premium If I edit html_base_defaults.css will it be overwritten at next update?

If I edit html_base_defaults.css will it be overwritten at next update?

Posted: October 31, 2017 at 6:36 am

Viewing 4 reply threads


iwbnet

October 31, 2017 at 6:36 am

If i edit the styles in /wp-content/plugins/event-espresso-core-reg/core/libraries/messages/defaults/default/variations/html_base_default.css will the customisations be overwritten at the next plugin update?


Tony

  • Support Staff

October 31, 2017 at 6:39 am

If you edit any file within any plugin it will be removed when you update.

WordPress deletes the original plugin, downloads the update and unpacks it into the plugins directory. Any changes will always be lost.

What is it you looking to change?


iwbnet

October 31, 2017 at 6:59 am

Was hoping that maybe the CSS files aren’t updated with each new release.

I’m wanting to change some CSS for the:
#invoice>div,
#invoice>table
to reduce the margin_bottom setting.

Also looking for the CSS file which has the Invoice PDF font formatting in it as I’d like to change it from Times New Roman to something a little nicer to read.


iwbnet

October 31, 2017 at 7:00 am

P.S. I have changed the CSS and uploaded the new copy but know this will be overwritten as confirmed. If i put the custom CSS into the WP customizer > Additional CSS screen it is not picking up the new CSS.


Tony

  • Support Staff

October 31, 2017 at 11:30 am

Was hoping that maybe the CSS files aren’t updated with each new release.

Unfortunately, WordPress doesn’t care what the file is, or if its actually been updated, it simply removes the plugin’s root directory from /wp-content/plugins/ and replaces it with the new version.

It sounds like what you need is a new template ‘variation’ (basically the CSS used for the template).

We have some documentation on adding your own here:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/E–Messages-System/registering-message-template-variations.md

Viewing 4 reply threads

The support post ‘If I edit html_base_defaults.css will it be overwritten at next update?’ 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.

Event Espresso