Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #840884

    Hi,

    I have a masonry gallery in the front page of my site.
    It is located in a place that requires one scroll down in order to the gallery to show up.
    Is there a way to disable the loading animation (Where the gallery items flip up), so the gallery will be displayed from the very moment of the page load?
    As if it is a normal gallery, that just loads with the whole page, with no trigger for showing up.

    To make it easier I created a class to the spesific masonry gallery: fp-services-masonry

    Hope for your great help as always!

    #840949

    Hey barak97,

    Try adding this to quick css:

    .avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
        -webkit-animation: none !important;
        animation: none !important;
    }

    Best regards,
    Jordan Shannon

    #840954

    Hi Jordan, thank you

    Problem is it makes the gallery items just show up with no animation when scrolling, instead of show up from the very load of the page.
    Also it makes all the other masonry galleries show up the same way. I want only that spesific gallery to be affected.

    #840957

    Hi,

    Apologies, the following should work:

    
    /* make it so masonry galleries load with page instead of as you scroll to them */
    .avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
        -webkit-animation: none !important;
        animation: none !important;
    }
    .av-masonry-entry {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .avia_sortable_active .isotope {
        -webkit-transition: none;
        transition: none;
    }

    Be sure to clear your cache a few times over.

    Best regards,
    Jordan Shannon

    #841366

    Thank you! I tweaked it a bit so it will only affect the specific masonry gallery.
    Unfortunetly, now it ruins the RTL setting of the element: When the page loads, the elemnt shows in LTR (the items flip sides) and after the scroll reaches the trigger point of the element, it changes the sides so it will be right in the RTL.
    You can see it live in the site, link in private content + the code I put in the Quick CSS.

    Thank you for helping!

    #842162

    Hi,

    So you mean its not loading immediately?

    Best regards,
    Jordan Shannon

    #842213

    Hi Jordan,

    look in the site and see for yourself… It’ll be easier than explaining in words.
    It flips the items when loading the page, and when the scroll hit the animation trigger the items flip to the right order.

    #842216

    Hi,

    I’m not able to see the image flip issue. It loads and remains exactly the same on my side.

    Best regards,
    Jordan Shannon

    #842222

    Weird,
    I recorded my screen to show it live.

    #842224

    Hi,

    I see now. It could just be a matter of re-configuring the css. Would you be able to provide admin info so that I can access quick css?

    Best regards,
    Jordan Shannon

    #842230

    Off course.
    See private content.

    #843793

    Hi,

    I think it works like that because the script is loading a little later than expected. Please install a cache plugin and minify the scripts.

    Best regards,
    Ismael

    #843851

    Hi, it’s not a matter of loading because even if waiting 2 minutes after the page finished loading, it happans again.
    It seems like something is not right in the code, because it always changes to the right form when hitting the scroll trigger.

    (I have a cache plugin, WP Rocket, and I do minify and merge CSS & JS files)

    #844832

    Hi,

    Just as a precaution, please try disabling all active plugins and see if the issue persists.

    Best regards,
    Jordan Shannon

    #845371

    I turned all of the plugins off – It didn’t change. (Off course refreshed with ctrl+shift+r)

    • This reply was modified 7 years, 3 months ago by barak97.
    #846940

    Hi,

    Apologies for the delay in response. I have never run into such issue, and as of right now would not know what direction to go to alleviate this. Apologies, but I will have to report this as a bug and hopefully a solution can be delivered soon, perhaps via a future update.

    Best regards,
    Jordan Shannon

    #846945

    Ok… I will find another way to implement this idea.
    Thank you for your help! :)

    #846950

    Hi,

    No problem at all.

    Best regards,
    Jordan Shannon

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