Support

Home Forums Event Espresso Premium Table View Addon Reply To: Table View Addon

Reply To: Table View Addon

Author Replies
Josh # Posted on May 2, 2018 at 3:10 pm

That’s really strange, there must be some JavaScript running on that page (either from the theme or another plugin) that’s manipulating the DOM there.

Here’s how to override it:

You add the following code to a site specific plugin, then activate the plugin.

add_action(
    'wp_enqueue_scripts', 
    'my_add_inline_script_override_avada', 
    40
);
function my_add_inline_script_override_avada() {
    $custom_js = 'jQuery(document).ready(function($){
      jQuery(".espresso-table tr").removeClass("sidebar").css("display","table-row");
    });';
    wp_add_inline_script('espresso_events_table_template', $custom_js);
}
Do NOT follow this link or you will be banned from the site!