• Resolved addicottweb

    (@addicottweb)


    The latest update to 6.6.4 broke many of the websites that I’m using the plugin on. Specifically, in the [events_list] shortcode, it’s now outputting these two lines of code before the list of items:

    <div class="em em-view-container" id="em-view-959559093" data-view="list"> <div class="em pixelbones em-list em-events-list" id="em-events-list-959559093" data-view-id="959559093">

    (Obviously the ID numbers are unique to that block.)

    I’m trying to wrap the output list of events in a carousel, and noticed these before the list begins. Shouldn’t it only be showing one of these? Could that be the problem?

    I can use the following function to update the classes shown:


    add_filter('em_get_template_classes', function( $component ){
    return array('owl-carousel', 'owl-theme');
    }, 1);

    Which would work fine if it were just one of the div tags, not both. I’m not sure if this was included in the latest update, but please fix ASAP!!!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus

    (@msykes)

    These div tags are somewhat necessary so it works with all the optional features in an events list. If you’re using the shortcode combined with another plugin to output information, our CSS will likely be taking over to what is expected inside that content, an EM list, not a carousel.

    That said, you can certainly tweak things to make that work. I think you can fix this by setting Events > Settings > Styling Options > Individual Components > Events List to Basic or otherwise None, so that your styling takes precedence.

    Thread Starter addicottweb

    (@addicottweb)

    Thanks for getting back to me. Someone else had a similar issue in another thread at https://www.ads-software.com/support/topic/6-6-4-1-events-list-adds-new-divs/, and I followed that solution and am all set.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.