We're merging with GenerateBlocks! Learn more here.

[Support request] Pagespeed insight complains about non supported CSS properties

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Pagespeed insight complains about non supported CSS properties

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #33860
    elvin
    Moderator

    modify the CSS to this:

    .wpsp-overlay .wpsp-content-wrap {
        transition: none !important;
        flex: 0;
    }

    All the CSS flagged were on .wpsp-content-wrap element. 🙂

    #33868
    Bernhard
    Participant

    Now a third list also gives the error.

    #33895
    elvin
    Moderator

    We can try being more list ID specific.

    Example:

    #wpsp-45396 .wpsp-overlay .wpsp-content-wrap {
        transition: none !important;
        flex: 0;
    }
    
    #wpsp-45396 .wp-show-posts-image.zoom img { transition: none !important;  }
    

    But I’m a bit hesitant with the 2nd half of this css because it may break the easing of the hover animation.

    You can try changing the transition to transition: transform !important; or do a double entry of the same property just to cancel out the transition: all.

    Like this:

    #wpsp-45396 .wpsp-overlay .wpsp-content-wrap {
        transition: none !important;
        flex: 0;
    }
    
    #wpsp-45396 .wp-show-posts-image.zoom img { transition: none;  }
    #wpsp-45396 .wp-show-posts-image.zoom img { transition: transform !important;  }
    
    #33897
    Bernhard
    Participant

    Hi Elvin,
    I’m wondering if it’s necessary to investigate further. The PSI index is >90 and no CLS caused by this issue. I checked with different browser and everything seems ok.

    I looked also into the PSI results for desktop and there it says also Unsupported CSS Property: color so this could become a never ending story. On my site, the flex shrink message seems to be an all overlay lists with zoom on hover and more than one card. Maybe the new WPSP version will solve the problem?

    About the 3 lists on mobile, probably I will make a version with only one card for mobile.

    Thank you 🙂

    #33902
    elvin
    Moderator

    I looked also into the PSI results for desktop and there it says also Unsupported CSS Property: color so this could become a never ending story. On my site, the flex shrink message seems to be an all overlay lists with zoom on hover and more than one card. Maybe the new WPSP version will solve the problem?

    I don’t think the beta version will solve this because the issue is CSS-related and beta generates the same CSS as the current official release.

    And the issue seems to be mostly about the interaction between WPSP’s CSS and the caching plugin you use. (since the flags don’t show up when there’s no caching plugin activated)

    We can try more things though – See further suggestions here.
    https://developers.google.com/web/fundamentals/performance/rendering/stick-to-compositor-only-properties-and-manage-layer-count

    Specifically, will-change
    https://developer.mozilla.org/en-US/docs/Web/CSS/will-change

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.