Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1345362

    Hello,

    How can I make category page in my site to look like masonry grid?

    I’ve already found a number of threads talking about whether or not this is possible, but I didn’t get to any good results.

    I have put in my child theme this file:
    archive.php

    Then, I changed this part:
    $blog = new avia_post_slider($atts);
    $blog->query_entries();
    $output .= $blog->html();
    To:
    $blog = new avia_masonry($atts);
    $blog->extract_terms();
    $blog->query_entries();
    $output .= $blog->html();

    But after all that, the category page has broke down.

    Please note that I set blog grid layout in the theme options.
    I will provide you a site link, and credentials to you can login in private content.

    Best regards,

    #1345433

    Hey Ahmad,

    Thank you for the inquiry.

    Try to use the following code in place of the previous one.

    $masonry  = new avia_masonry( $atts );
    $masonry->extract_terms();
    $masonry->query_entries();
    
    $masonry->get_element_styles();
    
    $output .= $masonry->html();
    

    We just added this line to apply the proper styling for the element.

    $masonry->get_element_styles();
    

    Best regards,
    Ismael

    #1345591

    Hello,

    Thank you for your response,
    but it is not working, as you can see:
    Screenshot_1.png

    Any idea?

    Regards,

    • This reply was modified 2 years, 8 months ago by Tello.
    #1345611

    Hi Tello,

    We have updated your site.
    Please review your site/category pages.

    Best regards,
    Nikko

    #1345689

    Yes, it is works.
    Thank you very much.

    BUT

    Try to use any filter, they didn’t work.

    #1346197

    Any solution for this problem ?

    #1346256

    Hi Tello,

    I apologize for the delayed response.
    I have checked on it however those filters are from a third-party plugin, you will most likely need to hire some developer in order to write codes to connect those filters with the Enfold’s masonry which unfortunately, is outside the scope of our support.

    Best regards,
    Nikko

    #1347878

    Hello,

    I really appreciate your help.
    But I did not benefit because the filters no longer work and this is beyond the scope of your support as you told me

    So, I have put everything back as it was, but when I use one of the filters
    The footer disappears and the results appear repeatedly, as you can see:
    Screenshot_1.png
    You can try it by yourself.

    Do you have an idea why this thing is happening?

    Thank you
    Regards,

    #1348248

    Any response?

    #1348440

    Hi Tello,

    I apologize for the delayed response, I have checked your site again and it seems to be an issue with Filter Everything PRO plugin.
    I’m not really familiar with the plugin but it does not seem to reset the query after it queries which causes issue with Enfold’s footer page.

    Best regards,
    Nikko

    #1348526

    So, what should I do?

    #1348564

    Hi Tello,

    Can you try to setup a staging site? and provide us with both admin and FTP access for the staging site.
    It’s beyond the scope of our support but we’ll try to check further if we can provide some help.

    Best regards,
    Nikko

    #1348585

    Thank you very much for your help.

    It is already a staging site.
    You can do whatever you want in it.

    I will provide you with both admin and FTP access in private content.

    Thank you.

    #1348936

    Any new response?

    #1349225

    I have solved the problem.
    I have changed the footer to a widgets columns instead of page.
    Thank you.

    #1349433

    Hi,

    Glad you figured it out and thanks for sharing your solution!

    Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘How to change category page to look like masonry grid?’ is closed to new replies.