• Resolved lukcore95

    (@lukcore95)


    Hello!

    This is the best dark mode plugin, but option Hide Dark Mode Switch on Mobile doesn’t work. After switch on, Dark Mode Switch still is available on the mobile devices. Of course, I purged cache and deleted cookies.

    Please help ??

    Thanks for an advice.

    Regards
    Lukasz

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DarkMySite

    (@darkmysite)

    Thank You for mentioning the issue you are facing.
    We have tested on few mobile in different browsers but found things working. Can you please let us know which browser and OS (Android/iPhone) are your using so that we can test and resolve the issue faster?

    Thread Starter lukcore95

    (@lukcore95)

    I use Android devices and I tested on two different devices – Motorola with Android 10 and Xiaomi with Android 12.

    I was unable to disable the switch on my mobile device so that it would also be visible on the computer. It happened to me that the switch disappeared from the mobile device, but then it also disappeared from the desktop computer.

    Plugin Author DarkMySite

    (@darkmysite)

    Hello
    Though we couldn’t find the issue on our testing, you have nothing to worry.

    We have updated the plugin with much more functionality to hide the floating switch on mobile device. Now, from the control setting page of the plugin, you can choose Hide By User Agent, Hide By Screen Size or Both. For your solution, choose “Both” and surely the floating switch will be hidden on mobile device.

    Check out the screenshot: https://prnt.sc/ETTJvy7cJlfl

    Thread Starter lukcore95

    (@lukcore95)

    Thank you very much!
    I really appreciate your approach and speed of updating.
    When I select the “Both” option, the button disappears from both the mobile and desktop version ??
    If you need any additional information from me, I am happy to help.
    I am very interested in solving this problem.
    Thanks!

    Plugin Author DarkMySite

    (@darkmysite)

    Hello,
    By further investigating, we can see that your theme is missing the viewport meta tag in it’s head. Without the viewport, in mobile device, the website shows like in a computer device. And many plugin may not work properly without this, it’s an issue from the theme.

    You can simply add the viewport meta tag on your theme by adding the below line inside the head tag.

    <meta name="viewport" content="width=device-width, initial-scale=1">

    Check out the screenshot: https://prnt.sc/Bu9hklSaeyUB

    After adding this, simply clear the cache and everything should work fine.
    Also, if you want, our team can help you adding the viewport on your website.

    Thread Starter lukcore95

    (@lukcore95)

    Oh, thank you very much!
    This solve my problem ??
    Now I have issue with hamburger menu on the mobile device… but this is no related with your plugin.
    All the best!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Hide Dark Mode Switch on Mobile” option doesn’t work’ is closed to new replies.