Archived topic
Custom 404 Page
2 replies · Started by Mehmet on July 1, 2018
Viewing posts 1–3 of 3
Hello,
I want to remove headers and footers of the 404 page. I am using the CSS code below:
.error404 .secondary-navigation,
.error404 .site-header {
display: none;
}
I think I need to add more lines to CSS code because I am able to see both headers and footers. Could you help me about the issue?
Thank you.
I tried a little bit and found the correct CSS code below:
.error404 .secondary-navigation,
.error404 .site-header,
.error404 .site-footer,
.error404 .main-navigation {
display: none;
}
Thanks anyways.
Glad you figured out :)
This archived topic is closed to new replies.