Forum Replies Created

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

    (@ruubis)

    Hi dcooney,

    Thank you for your reply.

    I tried your suggestion but it doesn’t seem to work, I still have my two problem.

    My “$columns” is the value of how many columns I want for the masonry.
    I also tried with this code to get the number of columns but it doesn’t work.

    <div class="post-archive-masonry">
    <div class="row">
    <?php $columns = _get_field('csco_category_layout_archive_columns', 'category_' . $cat, 'default'); ?>
    <div class="col-masonry col-lg-' . 12 / $columns . '">
    <?php get_template_part('templates/content', 'masonry'); ?>
    </div>
    </div>
    </div>
    

    Here a screenshot of what it looks like when I click on the “Load More” button :
    Problem Masonry

    My posts is in fullwidth, that’s why I think it’s a problem of column but I’m not totally sure.

    If you have any idea, thanks for sharing.

    Ruubis

    • This reply was modified 7 years, 7 months ago by ruubis.
    • This reply was modified 7 years, 7 months ago by ruubis.
Viewing 1 replies (of 1 total)