Support

Home Forums Event Espresso Premium search results are spinning on the search results page (.ee-spin)

search results are spinning on the search results page (.ee-spin)

Posted: January 18, 2018 at 5:43 am

Viewing 2 reply threads


Um Library

January 18, 2018 at 5:43 am

Hi all,

we have installed EE4 on our develop site and since then the search results are spinning on the search results page (see: https://screencast.com/t/vfYw4a1L95)
When I disable the .ee-spin class in CSS or when I disable the plugin, the page is shown without spinning content.

I don’t know what would break when I disable .ee-spin.
Hopefully one of you can help me how to solve this.

Thanks in advance,
Regards, Ivo


Josh

  • Support Staff

January 18, 2018 at 12:44 pm

Hi Ivo,

You can probably disable the Event Espresso stylesheet for the search results pages only and that way it will not affect the pages that need the Event Espresso stylesheet.

Example code follows:

add_action('wp_enqueue_scripts','my_remove_ee_default_css', 9);
function my_remove_ee_default_css(){
    if(is_home() || is_front_page() || is_search()) {
        wp_deregister_style('espresso_default');
    }
}

You can modify the is_home() || is_front_page() || is_search() part to include additional pages you use for your search results pages. You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Um Library

January 19, 2018 at 1:16 am

Thanks Josh,

I’m going to look into this.

regards
Ivo

Viewing 2 reply threads

The support post ‘search results are spinning on the search results page (.ee-spin)’ 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