BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Activity page title
Tagged: header, page title
- This topic has 8 replies, 3 contibutors, and was last updated 9 years, 11 months ago by Paul.
Question
December 2, 2014 at 6:40 am #33758@milenaHi 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
December 2, 2014 at 12:53 pm #33772@alyssa-buddyboss
AlyssaParticipant@milena for just the activity page try this instead:
.activity.home-page .entry-header { display: none !important; }
December 6, 2014 at 4:46 am #33825@milenahi @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=editmy activity page is not the home page.
December 6, 2014 at 8:43 am #33833@alyssa-buddyboss
AlyssaParticipant@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.December 9, 2014 at 12:01 pm #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) {}
December 9, 2014 at 4:52 pm #33893@alyssa-buddyboss
AlyssaParticipant@milena post your opening body tag from the activity page including ALL classes
December 10, 2014 at 6:38 am #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?December 10, 2014 at 2:50 pm #33905@alyssa-buddyboss
AlyssaParticipant@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.December 10, 2014 at 3:19 pm #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.
- The question ‘Activity page title’ is closed to new replies.