CSS code snippet to hide header and footer

Hello, I used the recommended code snippet to try to hide the footer and header on a specific page but it does not seem to be working, am i over looking something or is this a bug?

Thank you

I just fixed it, you can use the code snippet attached to hide the header and the footer

This solution will hide the header and footer on every page… I still have to find a way to hide the header and footer on 1 specific page


We recommend using the snippet code that is in your first screenshot. But please note that you need to change the .page-185 (this is the page id) to your side id, which can be done by looking at the information in the code inspector How to Use the Browser Developer Tools Console [Article] | Treehouse Blog

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.