Archived topic
Problem with hiding with an element - the Topbar
18 replies · Started by Ron on January 18, 2018
I have created a page: Page not found.
I have installed a plugin for this purpose: https://de.wordpress.org/plugins/404page/
The plugin works perfectly! Errors are output with 404. The content of my page not found will be displayed.
I can't hide all elements in all the settings of the found page. Just not the Topbar! There are no errors of the plugin: 404page! This is a bug in the GeneratePress theme.
Try it for yourself!
Do you have a solution?
Many thanks in advance
Ron Jordan
Hi there,
Can you provide a link to the page in question?
You can edit the original topic and use the private URL field.
I made it!
attach them to the url
xxx, com/xyz
on! or:
xxx. com/?s=abc
thank you
Try this CSS:
.error404 .top-bar {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
rather a fan of html, not css ;-)
How are you hiding other elements currently?
Just wondering what's the bug here.
maybe this comment will help you
https://wordpress.org/support/topic/only-renders-the-header-and-footer-not-the-page/
the plugin overwrites the page!
your topbar is incorrectly integrated!
do you understand?
generatepress is great, but this is a small mistake
It looks like that plugin turns the page into an index page, which means WordPress will ignore any and all metabox values. This is standard in WordPress.
I believe you can get around this by going to "Appearance > 404 Error Page" and enable "Activate Compatibility Mode".
That forces the page to use the regular page template, which means metabox values will work.
Activate Compatibility Mode: I've already tried that!
The problem exists only for the top-bar:
_generate-disable-header => OK
_generate-disable-nav => OK
_generate-disable-secondary-nav => OK
_generate-disable-post-image => OK
_generate-disable-headline => OK
_generate-disable-footer => OK
_generate-disable-top-bar => Does not work
Do you have an idea?
thank you
Ron
We're not experiencing any issues with it: https://www.screencast.com/t/9VR3NDjh
Here's our settings: https://www.screencast.com/t/YE1TXONaskIW
Hello Tom,
wow, thanks for your trouble.
I don't have the problem when I call up the 404 page directly!
Like you did in your video. Works perfectly for me, too.
But if I make a mistake, the top-bar does not work.
http://www.domain.com/test Please try that!
This isn't working. But only the top bar!
1000 Thanks for your help
Ron
Ah, you can't see my address bar in the video, but that test is being done on a page that doesn't exist (mysite.com/dfkjh).
If you'd like you can send me temporary admin login details and I'll take a closer look: https://generatepress.com/contact/