[Resolved] White Flash While Page Loads

Home Forums Support [Resolved] White Flash While Page Loads

Home Forums Support White Flash While Page Loads

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #888062
    Josh

    I am getting a white screen flashing on every page load. I tried disabling all of the plugins (except GM premium) and the white flash still occurs. With the GP child theme disable the flash goes away. Right now I have the child theme deactivated so the white flash doesnt happen.

    Here’s the gist of it below:

    – Two website with the same theme and child theme active
    – One experiences a flash of a white screen after the page loads
    – We disabled all other plugins and the flash remains
    – We disabled the child theme and the flash goes away

    #888137
    David
    Staff
    Customer Support

    Hi there,

    do you have any functions or stylesheets in the child theme?

    #888182
    Josh

    no, they have all been commented out

    #888351
    Tom
    Lead Developer
    Lead Developer

    If it’s only happening with the child theme, it means something in the child theme must be firing.

    Can you take a backup of your current child theme and then add a completely blank child theme? Then you can re-add things one by one until the flash comes back.

    #890963
    Josh
    #891029
    Leo
    Staff
    Customer Support

    So when you remove that code, or use a blank child theme as Tom suggested, the issue no longer exists?

    #891974
    Josh

    Correct

    #892304
    Tom
    Lead Developer
    Lead Developer

    You’re safe to remove that code from your child theme. Just be sure to leave this part:

    <?php
    /**
     * GeneratePress child theme functions and definitions.
     *
     * Add your custom PHP in this file. 
     * Only edit this file if you have direct access to it on your server (to fix errors if they happen).
     */

    That being said, that code definitely shouldn’t be causing any issues. It shouldn’t actually do anything at all unless you’re using a RTL language.

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