-
AuthorPosts
-
November 15, 2018 at 6:36 pm #1034069
Hi Support team.
I have added the https://kriesi.at/documentation/enfold/image/#remove-image-alt-title-on-hover code and it works fine except for all older posts following the “load more” button.
This is using the masonry layout with pagination
November 16, 2018 at 6:27 pm #1034516Is there any new on this?
ThanksNovember 19, 2018 at 5:56 am #1035020Hi,
Thank you for using Enfold.
Try to replace the “load” event with “debouncedresize”.
jQuery(window).on('debouncedresize' function(){
Best regards,
IsmaelNovember 19, 2018 at 2:13 pm #1035187Hi Ismael,
Thanks for you help, but unfortunately doesn’t work for me. I think an event needs to be added to trigger after the “load more” button in addition to the load event but I’m not sure how to do this?Can you assist?
best wishes
Andy
November 20, 2018 at 8:17 am #1035467Hi,
The “debouncedresize” event is triggered every time the load more button is clicked, so that modification should have worked. Can I access the dashboard? I would like to test the script.
Best regards,
IsmaelNovember 20, 2018 at 12:20 pm #1035551no problem Ismael,
November 21, 2018 at 11:01 am #1035968Hi,
You’ve posted the login url twice. Please add the password.
Best regards,
IsmaelNovember 21, 2018 at 1:03 pm #1036036Sorry Ismael, it’s the same as the one in the earlier private post.
November 22, 2018 at 11:10 am #1036430Hi,
Thanks for the update.
I modified the code a bit. It should work now. Don’t forget to remove the browser cache prior to testing.
Best regards,
IsmaelNovember 22, 2018 at 6:51 pm #1036701Thanks Ismael,
That works great for me.November 23, 2018 at 6:07 pm #1037038Hi,
Cool. Anyway, you may need to adjust it in the future because the script checks if the title attribute of the very last masonry item is undefined. I can’t find a way to select the last item with pseudo selectors while the masonry items are loading so I used the post id selector. The last item will change when you add more posts in the future.
Best regards,
IsmaelNovember 30, 2018 at 11:52 am #1039273Hi Ismael,
If I understand correctly what you are saying is it’s not possible to solve this problem permanently because you are using the final post id before the load more button. Would it be possible to add a function to add a class to the final post id to work with do you think?
thanks
Andy
December 4, 2018 at 4:09 pm #1040756Hi Ismael have you had any more thoughts about a perminent solution since this isn’t going to work as soon as someone adds a new blog?
December 5, 2018 at 2:40 am #1041046 -
AuthorPosts
- You must be logged in to reply to this topic.