• Hi Frank, I am trying out the Critical CSS power-up, it’s great but I found my sticky header is not sticky unless I refresh the page after it is loaded. Any idea what is going wrong?
    I am trying with the API key.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I’m afraid for me it’s not sticky when refreshing either ..

    So can you if the problem persists when you:
    * test with “inline & defer CSS” disabled (which also disables CCSS)
    * OR test with “optimize JS” disabled (I see some JS warnings)

    based on that we can consider the next steps to get this working.

    Thread Starter jackthejack

    (@jackthejack)

    @optimizingmatters It works fine after I disable “inline & defer CSS” disabled”

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you re-enable so I can do a deep-dive in the CSS? 🙂

    Thread Starter jackthejack

    (@jackthejack)

    @optimizingmatters Thanks, done enabling it.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you try adding the following to the “add CSS to all rules” option;

    #megaMainMenu{position:fixed;width:100%;margin-top:0px;margin-bottom:0px;top:0px;}

    frank

    Thread Starter jackthejack

    (@jackthejack)

    Hi Frank, thanks, it is working, but actually the headers on my 4 product pages (Under the menu Product) suppose to be non-sticky. probably need a separate CSS for that as well.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ouch, don’t see a class/ ID to use to explicitly target (or not target) non-product vs product pages, so this might become complex very soon. I’ll check with jonas of criticalcss.com to see if he has a better idea how to fix, hang on 🙂

    Thread Starter jackthejack

    (@jackthejack)

    Thanks, Frank, I created 2 different headers, one being non-sticky and shows on the product pages.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Problem with Critical css power-up’ is closed to new replies.