Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Disable Elements doesn't work for Category pages

Home Forums Support [Resolved] Disable Elements doesn't work for Category pages

Home Forums Support Disable Elements doesn't work for Category pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #482600
    Shaun

    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!

    Example: https://swordsandstationery.com/swords/

    GP Premium 1.5.6
    #482759
    Leo
    Staff
    Customer Support

    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.

    #483066
    Shaun

    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?

    #483151
    Leo
    Staff
    Customer Support

    Try this CSS:

    .category .site-header,
    .category .top-bar {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #483184
    Shaun

    It works! Thank you so much Leo! ๐Ÿ˜€

    #483648
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.