-
AuthorPosts
-
February 15, 2019 at 2:31 pm #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,February 19, 2019 at 4:44 am #1068746Hey 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,
IsmaelFebruary 19, 2019 at 6:39 pm #1069058Hi 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!
February 21, 2019 at 6:46 am #1069790Hi,
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,
IsmaelFebruary 21, 2019 at 1:04 pm #1069914Hi Ismael,
You will find the credentials in private content.
Regards,February 22, 2019 at 5:32 am #1070214 -
AuthorPosts
- You must be logged in to reply to this topic.