How to hide the header easily in WordPress? (main menu + site name)
Ok, let’s say you want to make a clean sales page on a specific page (not on the whole site) of your WordPress website, for example to sell an ebook or something. You don’t want a main menu or logo.
Here’s how to do it:
1 – Add the plugin = “Simple custom CSS”
2 – Find the code of the page where you want to remove the menu (edit the page and look at the url, there is a number indicated (ex: wp-admin/post.php?post=1234&action=edit)
3 – Go to Appearance => Custom CSS
4 – Add the following CSS:
.page-id-1234 .site-header {
display: none;
}
OR:
.page-id-1234 .main-navigation {
display: none;
}
Here you go; hopefully this will help you if you ever need to make a landing page to sell an ebook or for anything else.
This is the least complicated solution I found because I’m not good at the technical side of wordpress!