Home Forums WoodMart support forum “Footer background” loaded by external stylesheet => can’t be lazyloaded

“Footer background” loaded by external stylesheet => can’t be lazyloaded

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

    Jeriss Cloud Center
    Participant

    Dear,

    On my website in private, I use the “Theme Settings > Footer background” to define the background image of my website. However, this setting causes a compatibility issue with WP Rocket.

    WP Rocket’s support team says that the image added there is loaded by an external sheet, which therefore prevents the image from being lazyloaded.

    Why is this loaded by external stylesheet? Why can’t this image be lazyloaded?

    Thanks
    Simon

    Attachments:
    You must be logged in to view attached files.
    #396657

    Jeriss Cloud Center
    Participant

    WP Rocket Support Team’s answer

    Attachments:
    You must be logged in to view attached files.
    #396982

    Hello,

    The Theme settings generate one CSS file in order to optimize the code. Thus we cannot change this function for one option.

    You can copy and move footer.php to the child theme and insert the background as per Rocket requirements.

    If you have any questions please feel free to contact us.

    Best Regards

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