Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1055983

    Hi,

    We’ve added a bit of custom CSS to the website and now get a “flash” as the css styles the page after it has painted. Generally, what is the best way to handle fixing this? Really only matters for above-the-fold content and css affecting it.

    Thanks

    • This topic was modified 5 years, 10 months ago by jarstern0.
    #1056130

    Hey jarstern0,

    I can see the first image flicking/reloading, what CSS did you add to it?

    Best regards,
    Rikard

    #1056360

    Believe it’s just this —
    .page-id-9 #home-hero .av-parallax-inner.main_color {
    background-position: 20% 100% !important;
    }

    #1056442

    Hi,

    Thanks for that, I see that your CSS is being served from the Autoptimize plugin, what happens if you clear the cache from that and leave it deactivated? When to not use a caching plugin.

    Best regards,
    Rikard

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