Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1067457

    Hi everyone,
    I use Masonry on this page (in Private Content) and it used to work perfectly, but from a few monthes, animation on load doesn’t work anymore.
    Indeed, once the page is loaded and if you switch from one category to another, the nice animation is working, but on the first time the page is loaded, it is not and thumbnails only appears one after the other.
    Could you please help me?
    Thanks a lot!
    Regards,

    #1068746

    Hey fcp,

    Thank you for using Enfold.

    The following css code is missing, which is why the animation is not working.

    .avia_desktop.avia_transform3d .av-masonry-animation-active .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
        -webkit-animation: avia_msonry_show 0.8s 1 cubic-bezier(0.175,0.885,0.320,1.075);
        animation: avia_msonry_show 800ms cubic-bezier(0.175, 0.885, 0.32, 1.075) 0ms 1 normal none running;
    }

    Did you install a cache or minification plugin?

    Best regards,
    Ismael

    #1069058

    Hi Ismael,

    Thanks for the feedback.
    What do you mean about cache or minification plugin? What is it?

    I found where the problem comes from?
    Some years ago, I added a shortcode php file (av-helper-masonry.php) in my enfold-child folder, to modify the text of the LOAD MORE button, by changing code like this in the whole php text:

    function load_more_button()
    {
    $data_string = AviaHelper::create_data_string($this->atts);
    $data_string .= ” data-avno='”.wp_create_nonce( ‘av-masonry-nonce’ ).”‘”;
    $output = “”;
    $output .= ““.__(‘Charger les actus précédentes’,’avia_framework’).”“;

    return $output;
    }

    When I delete this file, animation is perfectly working when the page is loaded, but of course, the LOAD MORE text button is back!

    Could you please tell me where and which code do I need to add, to modify this text, without having to modify a file every time Enfold theme is updated?

    Thanks a lot!

    #1069790

    Hi,

    Thanks for the update.

    Glad that you found the issue. I’m not really sure why that filter is no longer working though. Could we access the site? Please post the login details in the private field. Make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

    #1069914

    Hi Ismael,
    You will find the credentials in private content.
    Regards,

    #1070214

    Hi,

    Thanks for the update.

    Did you remove the filter? Please add it back and then comment it out temporarily. Or post the snippet on pastebin.com. I tried to search for it in the forum, but it’s no longer available.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.