• Resolved N.g

    (@loralora)


    Hello,
    thanks for a great plugin.

    I ran into 2 problems:

    1. When you turn on the black screen, when the user navigates to a new page – he first sees a “flash” of the usual light version for a fraction of a second. And only then the dark mode is connected.

    I disabled the plugins, but for some reason the result persists…

    1. Some images are black. For example: Attribute colors in the filter. (See photo.) How to fix it? https://drive.google.com/file/d/12Ge5_e3L9UoLuyXnYkiw3UFxiJq2vz_5/view?usp=sharing
    2. Question: How does this plugin work with caching? I use Fasted Cache + Pro. What version will the user see?

Viewing 1 replies (of 1 total)
  • Plugin Support FRSarker

    (@frsarker)

    The delay (or flash) is coming because of caching plugin.

    In your caching plugin, try to exclude DarkMySite’s inline CSS, JS and things will be fixed.

    Below class names are used in DarkMySite’s inline CSS and JS:

    darkmysite_inline_css
    darkmysite_inline_js

    And the CSS & JavaScript filename used for the process is:

    /wp-content/plugins/darkmysite/assets/css/client_main.css
    /wp-content/plugins/darkmysite/assets/js/client_main.js

    In your caching plugin, you must have ways to exclude delay loading on this files and inline class.

Viewing 1 replies (of 1 total)
  • The topic ‘black theme turns on with a delay’ is closed to new replies.