-
AuthorPosts
-
May 20, 2020 at 3:32 pm #1214694
Hi guys,
I have a preloader on the site but whenever the page appears it doesn’t show the section animations. It shows the animations when you scroll down below the fold though. Is there a way to make it so that they sections don’t animate until the loader if finished so you can see them? This would be for every page.
THANK SO MUCH :)
May 26, 2020 at 4:56 pm #1216540following up on this, thanks!
May 29, 2020 at 2:18 pm #1217704Hi,
Sorry for the late reply, as I understand your question, you have a preloader and after it runs the top section in view doesn’t animate, but the lower sections do. I suggest that the section in view is animating while the preloader is running.
I can’t think of a solution that will work sitewide, but we may be able to add an additional animation after your preloader to the top section. Perhaps a fade-in slide-up to the column “Our Products”, perhaps if most of your pages have the same layout we can add this animation based on a custom class to the column. Does this sound like something you would like to try?
Is the preloader from Enfold or is it a plugin or script?Related note: while researching this I found this possible solution that may help after some modification.
Best regards,
MikeMay 29, 2020 at 4:14 pm #1217777Hi Mike! Thanks so much for the thorough explanation. Yes! Would love to try that. Would like have it be the same animation as the rest, which is the bottom to top animation just slowed down a bit with additional CSS.
It is the enfold preloader but there was a but of customization to it as you can see (addition of the logo animation and purple background slide in and out.
Ill also look into the link you sent.
May 30, 2020 at 5:31 pm #1218056Hi,
I tried to write this script as general as possible so it would work on most pages, the script looks for the first column on the page and waits for 2 seconds and then animates.
This seems to work on most pages showing the animation right after the purple preloader slides away. Try adding this code to the end of your functions.php file in Appearance > Editor:function after_preload_script(){ ?> <script> (function($){ $(document).ready(function(){ setTimeout(function(){ $('.flex_column_div.first.avia-builder-el-1').fadeIn({queue: false, duration: 'slow'}); $('.flex_column_div.first.avia-builder-el-1').animate({ top: "-50px" }, 'slow'); }, 2000); }); })(jQuery); </script> <?php } add_action('wp_footer', 'after_preload_script');
Then clear your browser cache and check.
Best regards,
MikeMay 30, 2020 at 5:43 pm #1218057Hi Mike,
Wow, thank you so much for writing this script for me. It works PERFECTLY. I appreciate it so much!
May 30, 2020 at 8:49 pm #1218072Hi,
Glad to hear, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeJune 1, 2020 at 5:27 pm #1218471feel free to close. thank you :)
June 1, 2020 at 9:21 pm #1218531Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘loader and section animations.’ is closed to new replies.