• Resolved edwarddoris

    (@edwarddoris)


    I’m having an issue where Wordfence is adding this inline css:

    style="display:none;visibility:hidden;"

    to my post thumbnails when the screen is resized.

    This is happening even when I simply engage the devtools on chrome and reload the page.

    Using a breakpoint on the DOM I was able to isolate the offending file and line:
    admin.ajaxWatcher.1690810710.js?ver=7.10.3,

        M = n(st, !1, "position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),

    Any help on identifying a work around would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @edwarddoris, thanks for reaching out!

    As a temporary fix, you can disable the?“Front-end Website”?option in?Wordfence > All Options > Allowlisted URLs > Monitor background requests from an administrator’s web browser for false positives. The AJAX watcher is only for admins, to check for false positives during requests, so disabling it doesn’t remove any protection but alleviate your issue.

    If you’re able to post the HTML of the images and a couple of the containing HTML elements, we can find out why the style was being applied.

    Thanks,
    Peter.

    Thread Starter edwarddoris

    (@edwarddoris)

    https://imgur.com/dBMN9EN

    • This reply was modified 1 year, 2 months ago by edwarddoris.
    Thread Starter edwarddoris

    (@edwarddoris)

    The first image is the html before inspecting and then after inspecting and then reloading the page. The inline styling is what is suppressing the images.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images suppressed on screen resizing’ is closed to new replies.