• Resolved reganri

    (@reganri)


    Just installed your plugin, and so far, my users love it. The only issue is the icon used in the browser to toggle dark mode on and off prints. I solved the issue by adding this to my theme:
    /*suppress printing in dark mode*/
    @media print { .wp-dark-mode-floating-switch { display: none !important; } }

    I can’t think of a single use-case where you’d want that icon to print, so I think it should be added to your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md. Ibrahim Khalil

    (@mdibrahimk48)

    Thank you for reaching out! Could you please share some screenshots of the issue you’re facing? This will help us understand the problem better.

    Thread Starter reganri

    (@reganri)

    It appears I cannot paste a screenshot into this dialog, so I will describe:
    With the plugin installed, use the browser to print any page and you will see it the icon in the lower right prints. It doesn’t matter if it’s in light or dark mode. As it’s a view only control, it shouldn’t print.

    Plugin Support Md. Ibrahim Khalil

    (@mdibrahimk48)

    Thank you for your response.
    Please note that when printing a page from the browser, all icons, including the floating switch from our plugin, will also be printed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘toggle icon should not print’ is closed to new replies.