About loading-overlay

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4024
    User2024
    Participant

        Sometimes when the page is slow to load, it seems to freeze.
        It would be nice to be able to hide the loading-overlay after a certain amount of time.

        #4033
        Aizaz Awan
        Keymaster

            Hello, @User2024,

            Regrettably, it’s not possible to automatically remove the loading overlay after a designated time frame. Instead, you can manage its visibility through the theme settings by enabling or disabling it. Although this approach generally functions well, occasional looping of the loading process may occur due to caching issues. If the server cache becomes particularly robust, unexpected problems may arise on the website. To address this, contacting your service provider and requesting a server cache flush should help resolve the issue. Subsequently, clear your browser cache and revisit the site to verify if the problem has been resolved.

            Best Regards,
            PThemes Team.

            #4057
            User2024
            Participant

                This does not happen on my server.
                External scripts like AdSense can cause long loading times.
                So it was necessary to disable loading after a certain amount of time.

                This code hides the loading screen by generating an error if 3 seconds have passed via a WordPress hook without modifying the script.

                If I think of another way, I’ll add it.

                Thanks.

                Attachments:
                You must be logged in to view attached files.
                #4063
                Aizaz Awan
                Keymaster

                    Hello, @User2024,

                    Thank you for providing clarification on the loading time issue. I appreciate your efforts in addressing it and the explanation of the solution implemented. I understand the challenges posed by external scripts like AdSense and the need to manage loading times. If you come up with any alternative solutions in the future, I look forward to hearing about them. Thanks again for your proactive approach to resolving this issue.

                    Best Regards,
                    PThemes Team.

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