Flexbox/Grid: New reveals have their own
-
I’m trying to use ALM with either a flexbox or CSS grid. But each set of items comes encased in a fresh
<div class="alm-reveal">
, which means that the only way the rows will be full is ifposts_per_page
is a multiple of any number of items in a row at any window width (My maximum is 4 per row, so I guessposts_per_page="12"
would work, but I really don’t want that many.) Is there a way to suppress the<div class="alm-reveal">
? It’s not really needed, as its parent<div class="alm-listing alm-ajax">
can serve just fine as the container.This problem can even be seen in the flexbox example on the plugin website (https://connekthq.com/plugins/ajax-load-more/examples/flexbox/). posts_per_page is at the default 5, so the first row has 3 and the second row has 2. When more are loaded, I would expect the first of the new items to join that second row, but it doesn’t, so the rows alternate between 3 posts and 2 posts.
- The topic ‘Flexbox/Grid: New reveals have their own’ is closed to new replies.