• The Foundation responsive framework requires that you have a data atrribute on the wrapper in a grid (or row) like so.

    <div class="grid-x grid-margin-x" data-equalizer> <- this
    
    <div class="cell small-6" data-equalizer-watch>
    </div>
    
    <div class="cell small-6" data-equalizer-watch>
    </div>
    
    </div>

    Is there a way to implement this into ajax load more? I can’t include the grid-x div in the repeater template as I only want to open a new grid once.

    Thanks for any thoughts you may have.

    • This topic was modified 7 years, 9 months ago by wurwaldesign.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @wurwaldesign,
    For this you should use the transition_container_classes shortcode parameter. THis will add classes to the .alm-reveal div.

    [ajax_load_more transition_container_classes="grid-x grid-margin-x" data-equalizer"]

    Hope that helps

Viewing 1 replies (of 1 total)

The topic ‘data attribute on wrapper div for equalization’ is closed to new replies.