Recently, I incorporated some "raw html" elements with animations into my WordPress site. However, the issue I'm facing is that these animations kick off as soon as the page loads, without waiting for the preloader to complete and display the actual content.
I'm still unclear on whether or not the preloader ceases once the page has finished loading. I have a feeling that the page continues to run additional processes even after it's fully loaded.
Being relatively new to WordPress (and inexperienced in JavaScript), I haven't touched any of the core PHP or JS files directly. Instead, I've been simply utilizing the "RAW HTML" element for this purpose.
Any insight would be greatly appreciated!