Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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

    #1034516

    Is there any new on this?
    Thanks

    #1035020

    Hi,

    Thank you for using Enfold.

    Try to replace the “load” event with “debouncedresize”.

    jQuery(window).on('debouncedresize' function(){
    

    Best regards,
    Ismael

    #1035187

    Hi 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

    #1035467

    Hi,

    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,
    Ismael

    #1035551

    no problem Ismael,

    #1035968

    Hi,

    You’ve posted the login url twice. Please add the password.

    Best regards,
    Ismael

    #1036036

    Sorry Ismael, it’s the same as the one in the earlier private post.

    #1036430

    Hi,

    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,
    Ismael

    #1036701

    Thanks Ismael,
    That works great for me.

    #1037038

    Hi,

    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,
    Ismael

    #1039273

    Hi 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

    #1040756

    Hi 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?

    #1041046

    Hi,

    I adjusted the code a bit, increase the “tick” interval and set it to target the very last masonry item in the container.

    Best regards,
    Ismael

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