Posted: February 12, 2014 at 10:34 pm
|
Hi, Wordpress Version: 3.8.1; In the previous version we could create template copies on the wp-content/upload/event-espresso/template directory, is there a similar structure in EE4? Thanks. |
|
Hi Martin, The templates are found in templates/Espresso_Arabica_2014 These can be added to your theme or child theme and modified accordingly. |
|
Thanks @Dean. Would editing the widget be a similar process? |
|
Also, it seems my theme is pulling in the Espresso_Arabica_2014 style.css, is there a way to remove this? Thanks. |
|
Hi, The widget content is found in /widgets/ “my theme is pulling in the Espresso_Arabica_2014 style.css” It shouldn’t unless you copied that over for some reason. What files did you copy to your theme? |
|
Hi @Dean, Wouldn’t that be over-written when I update the plugin? Re: Espresso_Arabica_2014 style.css I have imported all files except the style.css and functions.php. Thanks |
|
In addition to the issue above, it seems I cannot override the styles on the Checkout page via my main styles.css – is there a method to do this without editing plugin files? Or removing the inclusion of the style sheet altogether? Thanks. |
|
The Espresso_Arabica_2014 is a child theme of the WP default twentyfourteen theme. You might want to restore your twentyfourteen theme to it’s original form, then copy the entire Espresso_Arabica_2014 folder from plugins/eventespresso/templates into wp-content/themes. Then you can activate the Espresso Arabica theme and modify the copy of the style.css file there. |
|
Hi @Sydney, I’m currently working on a theme, and I am not using TwentyFourteen at all. Thanks. |
Hi Martin, The Event Espresso styles can be overridden if they’re included in a stylesheet that loads after its stylesheet (or if the CSS you write has greater specificity). Since you asked about a way to remove the Event Espresso stylesheet, yes it’s possible to do so and the way to do it is outlined here: http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles So to remove Event Espresso’s default stylesheet the function would be: add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'espresso_default' ); } Please note that if you remove the default Event Espresso stylesheet you’ll likely need to copy and paste some of its styles in order to hide/style some of the notifications that get displayed. |
|
The support post ‘[EE4] How do I override the default templates?’ 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.