Okay
  Public Ticket #3656985
General questions
Closed

Comments

  • mohammad started the conversation

    Hi,
    I thank you from the bottom of my heart for your fast replies and great support. I still have some questions since I am still learning about your theme:
    1- We are facing a problem when going back to the home page from other pages, it isn't loading properly. For example, access the news in my website or any blog. Then press the logo to go back to the homepage, it isn't loading properly.
    2- Concerning the portfolio grid, I know that you mentioned that the element only shows 4 portfolio items at the same time. I want to display 5 items, is there a way i can change it in the code or should i do it myself. Also I want to remove the transition effect from the portfolio item between items, how can I do so.
    3- For the news sections, I want to add a filter option for the news, is there a way to do that through the theme and not using a plugin. Feel free to give me your suggestions.

    Thank you again

  •  1,972
    Support replied

    Hi Mohammad,

    My answers inline, bolded:

    1- We are facing a problem when going back to the home page from other pages, it isn't loading properly. For example, access the news in my website or any blog. Then press the logo to go back to the homepage, it isn't loading properly.

    Have you tried disabling ajax page transition in customizer -> general settings?


    2- Concerning the portfolio grid, I know that you mentioned that the element only shows 4 portfolio items at the same time. I want to display 5 items, is there a way i can change it in the code or should i do it myself. Also I want to remove the transition effect from the portfolio item between items, how can I do so.

    Assuming it is about the portfolio grid shortcode/block/widget which in the demo can be found in the homepage

    https://prnt.sc/SBvUAwe5wnQQ

    and assuming you are using Gutenberg you can modify /wp-content/plugins/harington-core-plugin/include/shortcodes.php

    line 1315 which sets the max # of portfolio items in the shortcode

    https://prnt.sc/nDLp_5Xd4K-7

    However you may have to do some css modifications concerning the width of the item

    which is currently set to

    .flex-grid .item {
        width: calc(3* calc(1 / 10* 100%));

    }


    3- For the news sections, I want to add a filter option for the news, is there a way to do that through the theme and not using a plugin. Feel free to give me your suggestions.

    Well, you have the categories blog pages that you can use which filters the posts based on their category

    Not sure if you need more than that.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • mohammad replied

    Hi,
    Thank you for the help. Concerning the ajax transition, I turned it off and the transitions worked . However, by turning it off it also turned off the portfolio grid's animations and other animations,  which is not a solution. So if you can give me another solution, that would be great.

  •  1,972
    Support replied

    Hello Mohammad,

    The thing is that we cannot guarantee any of the third party elements working w/ AJAX

    CSS styles are usually loaded in the header of the page, dynamic js effects in the footer.

    When a page is loaded with ajax header and footer stay the same (the original starting page), the content is loaded in an inner container.

    That's why we recommend using our shortcodes/Gutenberg blocks/Elementor widgets that are guaranteed to work with ajax. Or disable ajax in customizer -> general settings. You can also keep the ajax on and add the page containing the elements as custom menu link therefore bypassing ajax - but this solution does not apply to the logo & home page.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • mohammad replied

    Hi again,
    Since the page is loading perfectly with the animation at first, is there a way to use the ajax animations once? Just at the beginning?

  •  1,972
    Support replied

    Hello, no, that's not actually possible.frown.png Once you disable ajax page transitions the pages and portfolio items will load normally (the browser will send/receive the HTTP request and will load the entire page)

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy