• Resolved richardzed

    (@richardzed)


    Hi there.
    I have installed and activated the plugin but there is a problem.
    There are some parts of the site, example header, menu, some images, etc., that I don’t want that appear in night mode.
    I have also tried with CSS code but nothing changed.

    Hoping to find a solution.

    Richard.

Viewing 1 replies (of 1 total)
  • Plugin Author markoarula

    (@markoarula)

    Hi,

    you can try to solve this by using :not() selector.

    Here is the example on how to skip header:

    body.wp-night-mode-on * :not(header) {
        background: #000000;
    }

    You can add class or ID inside not() and you can add as much as you like:

    `body.wp-night-mode-on * :not(.header):not(#footer):not(.some-image) {
    background: #000000;
    }

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with dark mode for some elements’ is closed to new replies.