• Resolved roguestudio

    (@roguestudio)


    Is it possible to keep the dark mode when browsing from page to page? After testing, the default mode returns automatically. The mode of the previous page is not conserved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DeoThemes

    (@deothemes)

    The plugin saves the settings in localStorage so the dark mode should be preserved when navigating pages. Please provide me with the example link where it doesn’t work.

    Thread Starter roguestudio

    (@roguestudio)

    After testing, it works well if “Activate dark mode as default” is disabled. Personally, I need to use this mode because I want my site to be in dark mode by default. Thanks for your help.

    Plugin Author DeoThemes

    (@deothemes)

    I tested it on our setup with and without “Activate dark mode as default” setting and couldn’t detect any issue. Here you can check the live page demo, the page should look dark by default – https://nocturne.deothemes.com/test-page/

    Thread Starter roguestudio

    (@roguestudio)

    Thank you for your response. On your test page, I see the same problem: when I switch to light mode and refresh the page, it switches back to dark mode when it should remain in light mode. Give it a try.

    However, on my website, when I deactivate “Activate dark mode as default”, it works perfectly, I can refresh the page and navigate and the selected mode remains.

    Plugin Author DeoThemes

    (@deothemes)

    I see, thanks for the clarification. That’s the purpose of the Activate dark mode as default setting, it forces your site to always load in dark mode even if you navigate or refresh pages. It is more suitable for websites that use a dark scheme as default and don’t intend to switch to light mode.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.