• Resolved Inge Reck

    (@ingereck)


    The Dark Mode Toggle disappears on AMP pages, no errors showing. Is there a fix to it?

    • This topic was modified 2 years, 5 months ago by Inge Reck.
    • This topic was modified 2 years, 5 months ago by Inge Reck.

    The page I need help with: [log in to see the link]

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

    (@milindmore22)

    Hello @ingereck

    Thank you for the support topic, Currently dark mode support is only available to users if their system supports it. The theme toggle that is shown which allows the user to switch between light and dark mode has been removed from the frontend, due to the inability to persist the theme preference and being able to unserialize that into the AMP state without explicit user interaction.

    This issue is being tracked in ampproject/amphtml#20951.

    So if your desktop or mobile is set on the dark mode it will automatically show you the dark mode on site.

    Thread Starter Inge Reck

    (@ingereck)

    Hi Milind,

    Thank you for getting back to me. Yes, the dark mode works. Since I liked the option to switch between the two modes directly on the website, I was wondering what was happening to the toggle in AMP. Thank you for the explanation.

    Inge

    Plugin Support Milind More

    (@milindmore22)

    Hopefully we have answered your query, I’ll mark this as resolved Open a new support topic if you face further issues, also feel free to leave a plugin review, we would love to hear your feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dark Mode Toggle (Twenty Twenty-One Theme) disappears’ is closed to new replies.