You can select any specific element or section of your website page or post to turn into the dark mode. To get started, go to the page from where you would like to include/exclude a section. Right-click on that element and select “Inspect”. Then, find the element ID/Class and copy its name.
Now, go to the admin dashboard and go to WP Dark Mode > Advanced > Exclude Settings and paste the id/class here. Then click on “Save Changes”.
Now visit the front page after refreshing and click on the toggle button.