Archived topic
Disable Elements doesn't work for Category pages
5 replies · Started by Shaun on January 29, 2018
Hey guys, got another question (I promise I won't be asking another one for a long time!)
It seems like Disable Elements doesn't work with Category pages, which were made with Anywhere Elementor Pro. The only way I could disable elements that I didn't want, like the Top Bar and Header, was to override the theme's elements (via Anywhere Elementor's settings), but doing so would get rid of the Footer and Primary Nav, which I want. Is there any fix for this? Thanks in advance for any help!
Hi there,
WordPress ignores all metabox values on index pages which is why they weren't working.
I currently don't see any of GP's elements showing in the page you linked - everything is from Elementor now.
Thanks Leo! I just changed the settings so that now Anywhere Elementor doesn't override GP's layout, so you can see how it looks like. Is there any way for me to get rid of the Header and Top Bar?
Try this CSS:
.category .site-header,
.category .top-bar {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
It works! Thank you so much Leo! :D
No problem :)