Support » Plugin: Autoptimize criticalcss.com power-up » How to move inlined critical CSS below Yoast SEO meta tags?

  • Resolved qvplitesmf050119

    (@qvplitesmf050119)


    Where does Critical CSS hook into the WordPress <head> exactly? Furthermore, is there a way to add something to my functions.php that can move the inlined critical CSS further down towards the end of the head?

    If you view the source of my website, you can see my critical CSS is being inlined above my Yoast SEO plugin’s meta tags. And presumably because of that, both Facebook and Twitter aren’t currently finding those tags because they are buried too far down. Strange, I know… but when you look at the exact code Facebook “sees” in their debugger tool, you can see it only reads so far and eventually cuts off without ever finding the Yoast tags.

    (You can see exactly what I mean by going to https://developers.facebook.com/tools/debug and typing in my URL, then clicking on ” See exactly what our scraper sees for your URL” near the bottom of the debugger page.)

    What I am trying to achieve is for the inlined CSS to be pushed further down, below those meta tags, such that they can be read earlier (and at all). Either that or move the Yoast SEO tags up higher in the head.

    Any chance you can help me figure this out? Please let me know, thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to move inlined critical CSS below Yoast SEO meta tags?’ is closed to new replies.