New Landing How can we help? Themeforest Theme Support Flexform Adjusting Masonry Settings

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #193867
    bigjimj
    Member
    Post count: 20

    Is there a way to adjust the fade-in function in Masonry or shut it off altogether? I have some ads that are placed by an ad network and there is a conflict that is causing the ads to load first and the content to load very slowly. They seem to think is has to do with the Masonry fading in.

    Or is there a way to make the content load before the ads?

    Unfortunately, I don’t know enough about it but I need to make these adjustments myself if I can. So your help is very appreciated.

    Thanks,
    Jim

    #193895
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit functions.js file at /flexform/js/.
    Find this code:-

    // BLOG ITEM SETUP
    if (blogItems.hasClass('masonry-items')) {
       jQuery('.masonry-items').fitVids();
       blog.masonrySetup();
       blogItems.imagesLoaded(function () {
       blogItems.animate({opacity: 1}, 800);
       masonryPagination.fadeIn(1000);
       blog.masonrySetup();
    });

    Change with:-

    // BLOG ITEM SETUP
    if (blogItems.hasClass('masonry-items')) {
       jQuery('.masonry-items').fitVids();
       blog.masonrySetup();
       blogItems.imagesLoaded(function () {
       blogItems.animate({opacity: 1}, 100);
       masonryPagination.fadeIn(100);
       blog.masonrySetup();
    });

    Thanks
    Mohammad

    #194281
    bigjimj
    Member
    Post count: 20
    This reply has been marked as private.
    #194298
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved.
    Thanks 🙂
    With Best Regards
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register