Title: Syntax for Advance Setting Exclude Elements
Last modified: March 28, 2024

---

# Syntax for Advance Setting Exclude Elements

 *  Resolved [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * (@astimegoesby)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/syntax-for-advance-setting-exclude-elements/)
 * Amazing plugin.
 * I would like to exclude header from being changed by darklooks toggle for this
   theme. Have tried putting
 * #masthead, .site-header (which are the theme’s id and class)
 * in the Exclude Elements section.
 * Any suggestions would be very much appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-for-advance-setting-exclude-elements%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [themelooks](https://wordpress.org/support/users/themelooks/)
 * (@themelooks)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/syntax-for-advance-setting-exclude-elements/#post-17537503)
 * Please try to remove the [space] after comma.
 * Thanks!
 *  Thread Starter [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * (@astimegoesby)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/syntax-for-advance-setting-exclude-elements/#post-17538288)
 * Thank you for the suggestion which I tried just now. My theme does have a custom
   CSS section that I seem to be able to control for the heading. Would you suggest
   a CSS or other change that would ensure darklooks exclude elements is loaded 
   last?
 *  Thread Starter [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * (@astimegoesby)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/syntax-for-advance-setting-exclude-elements/#post-17538441)
 * I was able to solve my theme header conflict issue with the theme’s custom css
   as:
 * html.darklooks-mode-changer-enabled .header-right-wrapper a#nav-toggle {
   color:#
   000000 !important;}
 * Again, thank you for the direction pointing and the amazing plugin.

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

The topic ‘Syntax for Advance Setting Exclude Elements’ is closed to new replies.

 * ![](https://ps.w.org/darklooks-dark-mode-switcher/assets/icon-256x256.gif?rev
   =2644427)
 * [DarkLooks - Dark Mode Switcher For WordPress](https://wordpress.org/plugins/darklooks-dark-mode-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/darklooks-dark-mode-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/darklooks-dark-mode-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/darklooks-dark-mode-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/darklooks-dark-mode-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/darklooks-dark-mode-switcher/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [astimegoesby](https://wordpress.org/support/users/astimegoesby/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/syntax-for-advance-setting-exclude-elements/#post-17538441)
 * Status: resolved