Support » Plugin: Fast Velocity Minify » Help Finding CSS Causing FOUC

  • Resolved wpgibson03

    (@wpgibson03)


    Hello and thank you for an excellent plug-in.

    When using the plug-in I have a flash of unstyled content. It is happening when viewing the site on mobile. The desktop version of the main menu flashes on the right side of the mobile menu.

    I’m trying to find which css or js file needs to be ignored and not sure how to find which file is causing the flash.

    The site is http://www.teespit.com

    Any advice you could give would be appreciated greatly!!

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Raul Peixoto

    (@alignak)

    Hi,

    Kindly see if any of the recommendations here work:
    https://wordpress.org/support/topic/the-menu-and-logo-gone/

    You first need to try to disable css processing and js processing alternatively, to see which one causes it.

    Then add all files to the ignore list and one by one remove until you find the one that causes it.

    Thank you! I should have thought of this.

    Hello again,

    I must be doing something wrong because I input the files to be ignored but they are still being processed. I did empty all caches including browser and W3C. I’ve made sure there is no query vars in the urls and also used relative urls.

    I also just turned everything off for CSS and JS and it still processes them.

    Edit –
    I just found that this is theme specific and happening even before any plugins.

    • This reply was modified 3 weeks, 4 days ago by wpgibson03.
    • This reply was modified 3 weeks, 4 days ago by wpgibson03.
    Plugin Author Raul Peixoto

    (@alignak)

    Looks like the fonts are loaded asynchronously, probably via javascript.
    If you can find which fonts are being loaded that way, you can possibly inline them in the headers as css only.

    However, being theme specific, there’s nothing else I can tell you other than to suggest you to try another theme.

    Regards,

    Raul

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