BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Activity page title

Tagged: ,

  • This topic has 8 replies, 3 contibutors, and was last updated 10 years ago by Paul.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Question

    #33758
    @milena

    Hi TJ,

    I used this code in my custom css

    .activity .entry-header
    {
    display: none !important;
    }
    

    and is successfully removed the title of the activity page- but also the member nice name from profile page.

    how do I specify even more?

    thanks

    Answers

    #33772

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena for just the activity page try this instead:

    .activity.home-page .entry-header
    {
    display: none !important;
    }
    #33825
    @milena

    hi @tjchester,

    that did not work.

    does this page – activity – has a special class?

    in the edit section in the admin’s panel it’s defined
    mysite.com/wp-admin/post.php?post=8&action=edit

    my activity page is not the home page.

    #33833

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena unfortunately the activity class is shared with the profile activity page. You will need to look on the page for unique classes in the <body> tag. It should have something like page-id-8 or post-8 or something like that you should be able to use.

    #33887
    @milena

    .home .entry-header {display: none;}
    removes the title of the group home page too.

    .activity .entry-header{display: none !important;}
    removes the member title too.

    I found these , but haven’t been successful in anything I tried. I don’t know what to do.
    http://www.wpbeginner.com/wp-themes/wordpress-body-class-101-tips-and-tricks-for-theme-designers/

    .rtl {}
    .home {}
    .blog {}
    .archive {}
    .date {}
    .search {}
    .paged {}
    .attachment {}
    .error404 {}
    .single postid-(id) {}
    .attachmentid-(id) {}
    .attachment-(mime-type) {}
    .author {}
    .author-(user_nicename) {}
    .category {}
    .category-(slug) {}
    .tag {}
    .tag-(slug) {}
    .page-parent {}
    .page-child parent-pageid-(id) {}
    .page-template page-template-(template file name) {}
    .search-results {}
    .search-no-results {}
    .logged-in {}
    .paged-(page number) {}
    .single-paged-(page number) {}
    .page-paged-(page number) {}
    .category-paged-(page number) {}
    .tag-paged-(page number) {}
    .date-paged-(page number) {}
    .author-paged-(page number) {}
    .search-paged-(page number) {}
    #33893

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena post your opening body tag from the activity page including ALL classes

    #33901
    @milena

    @tjchester I am sorry , I am not following you. What do you mean? An example would be best.

    also – this code works:

    .comments-area li.bypostauthor cite span {display:none;}

    but this one doesn’t.

    .comments-area article.bypostauthor { background-color: #e2e2e2 !important;}

    (i am editing straight in the wordpress.css, and I have no other conflicting code for that)

    I found this thread int the forum
    https://www.buddyboss.com/support-forums/topic/disable-page-titles/


    @style960
    , did you menage to remove the activity & home page titles without removing the member’s or groups’ titles?

    #33905

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena here is the body tag of this page:
    <body id="role-admin" class="topic bbpress single single-topic postid-33758 logged-in admin-bar collateral-product-columns-2 buddyboss-wall-active role-admin js customize-support" data-twttr-rendered="true">

    This is a coding issue feel free to post in the general issues area in the future or stackoverflow.com here is (most likely) the correct code:
    .comments-area article .bypostauthor { background-color: #e2e2e2 !important;}
    I doubt you have an article tag with the bypostauthor class, I could be wrong though and can’t get any further into it.

    #33909
    @style960

    @milena Yeah I did do remove those titles. Open the page in Chrome, right-click on the title you want to remove, and select ‘inspect element’. In the Developer Tools window that opens at the bottom of the browser you just need to grab the post ID – see attached screenshot taken from this page.

    Then just add the following custom CSS:

    #post-33758 .entry-header .entry-title { display: none; }

    TJ references this above, I’ve found it more consistent to always use the post id as opposed to page id.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The question ‘Activity page title’ is closed to new replies.