• Resolved romanbae

    (@romanbae)


    Hi,

    I write you as a user of the pro version.
    When I explore the code of my page I find not well-formed HTML:
    Every event is wrapped in a <div> element, but please look at the “class” attribute:

    <div class=”col-ife-md-12 archive-event class=” post-577 facebook_events type-facebook_events status-publish has-post-thumbnail hentry facebook_category-public””>…</div>

    There’s a class attribute inside the class attribute! So all classes of the nested inner classes are not detected correctly!

    This should be the correct version:
    <div class=”col-ife-md-12 archive-event post-577 facebook_events type-facebook_events status-publish has-post-thumbnail hentry facebook_category-public”>…</div>

    Hope you can fix it or help me!
    Thank you! 🙂

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

Viewing 1 replies (of 1 total)
  • Thread Starter romanbae

    (@romanbae)

    Fixed it. Change ife-archive-content.php and change line 35 from
    <div class=”<?php echo $css_class; ?> archive-event <?php post_class(); ?>”>
    to
    <div <?php post_class(array($css_class, ‘archive-event’)); ?>>

Viewing 1 replies (of 1 total)

The topic ‘Wrong “class” attribute on overview page’ is closed to new replies.