Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] two page headers on taxonomy page

Home Forums Support [Resolved] two page headers on taxonomy page

Home Forums Support two page headers on taxonomy page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #392162
    Kristy

    I’ve created a page header for a specific taxonomy. The problem is that the theme seems to be still created a page header inside the content as well. So I’ve got a Page Header that I’ve created to apply to the taxonmy (which i want), and also a page header on the taxonomy page that shows the page title, which is duplicate info (which i don’t want). There must be an easy fix? 🙂

    #392278
    Leo
    Staff
    Customer Support

    Can you link me to the page? Thanks!

    #392314
    Kristy

    Hi Leo. The site isn’t public yet. Can i send it to you privately?

    #392399
    Leo
    Staff
    Customer Support

    Yup through account issue here: https://generatepress.com/contact/

    Please reference the topic. Thanks!

    #392920
    Leo
    Staff
    Customer Support

    Ahh that’s the page title.

    Try this CSS:

    .blog .page-header,
    .archive .page-header {
        display: none;
    }

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

    #392959
    Kristy

    ah, ok. i thought there might be another way or reason for the duplication. when you add a Page Header to a page or post you have the option to hide the title in the Disable Elements box. Might be useful to have that option on archive pages as well!
    css it is. thanks Leo!

    #392971
    Leo
    Staff
    Customer Support

    Yeah WordPress ignores metabox on index pages (blog, archive) by default which is why we needed to use some CSS.

    No problem!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.