With this snippet you add the page slug as a body class. If the page slug is for example contact, the extra body class is being outputted like this page-contact.
Add the snippet below to your theme’s functions.php
With the new body class you can override the default styles or style elements for specific pages.
If you want to have a dark footer on your contact page your css looks like this:
Reader Interactions