I’m looking for an easy way to hide everything except a certain div and its contents.
You can use classes.
.classHide{display: none}
Depending on the language you are using, when if==true you can add a class to header, menu and footer.
So you won't need to use another css file.