• Resolved isiqik

    (@isiqik)


    I have used the following method to remove certain page titles successfully:
    .page-id-XX .entry-title {display:none;}.

    But I can’t do it with Docs. I have added a custom link on the menu to the Docs front page because I don’t have a physical page for it. So I don’t have a page id for it either.

    .bp-docs header.entry-header {display:none} does remove it but unfortunately removes the single doc title as well.

    Do you perhaps know of a method of how I can remove the title from just the front page?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Cavins

    (@dcavins)

    Hi @isiqik-

    I’m not sure which element on which page you’re trying to remove. Can you upload a screenshot with the element circled or similar?

    Thanks!

    Thread Starter isiqik

    (@isiqik)

    Hi,

    Here is the link.

    Remove Docs Title

    Plugin Author David Cavins

    (@dcavins)

    OK, it looks like you are trying to hide what we call the “directory title”.

    It really depends on the theme, but this rule will most likely work:

    
    .post-type-archive-bp_doc article.post-0 header {
        display: none;
    }
    

    The directory is given the ID of 0 by BP Docs, so you can target the directory using the article.post-0 selector, or .post-type-archive-bp_doc or both.

    Thread Starter isiqik

    (@isiqik)

    Thank you, it worked ?? and thank you for the additional information.

    Plugin Author David Cavins

    (@dcavins)

    Thanks for letting me know it worked!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove The Docs Title’ is closed to new replies.