Home Forums WoodMart support forum Home page LCP optimization – Slides background image

Home page LCP optimization – Slides background image

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #675122

    visanchan
    Participant

    Hi WoodMart Support,

    I have two questions:

    I’m using the Slides module for the homepage banner, with different background images for desktop and mobile. PageSpeed flags the background image as the LCP element and suggests applying fetchpriority=”high”.
    → Is there any official way to apply fetchpriority=”high” or output the first slide image as instead of CSS background?

    On the shop page, when hovering a product, a cart icon appears, but it just links to the product page (not AJAX add to cart).
    → How can I disable or hide this hover cart button without removing the wishlist or quick view?

    Thanks.

    #675252

    visanchan
    Participant

    This issue has already been resolved, no further action is needed. Thank you.

    #675253

    Luke Nielsen
    Keymaster

    Hello,

    1. Since you’re using WP Rocket, it has already preloaded this image for the mobile device. However, because your image is heavy, this issue appears. You need to optimize the image (make it lighter, for example, around 30 kilobytes).

    2. Navigate to WooCommerce -> Settings -> Products -> disable the “Redirect to the cart page after successful addition”: https://take.ms/zObzT

    Kind Regards

Viewing 3 posts - 1 through 3 (of 3 total)