We are adding a sub label part to our site and I am wondering if it's possible to have a part of the site (some pages) in dark mode? That is, invert the colours so that the pages are dark and the text white, but just for this section. Also, is it possible to exchange the web site logo for just these pages in some way?
Wordpress adds a page-id-??? class to the page body tag as can be seen in screenshot : http://prntscr.com/2y226r . You can use that to add page specific css like following
.page-id-??? p{color:#fff;}
To find the page id simply press F12 in Chrome browser to view the underlying page markup and copy the page id or element classes.
Hi,
We are adding a sub label part to our site and I am wondering if it's possible to have a part of the site (some pages) in dark mode? That is, invert the colours so that the pages are dark and the text white, but just for this section. Also, is it possible to exchange the web site logo for just these pages in some way?
Thanks!
Hey Nils!
Wordpress adds a page-id-??? class to the page body tag as can be seen in screenshot
: http://prntscr.com/2y226r . You can use that to add page specific css like following
To find the page id simply press F12 in Chrome browser to view the underlying page markup and copy the page id or element classes.
Cheers
ThemeNectar Support Team