Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing page titles on BuddyPress pages only


  • travisparkermar
    Participant

    @travisparkermar

    Hey everyone, need a bit of a help customizing my website.

    I want to remove the page title on almost every BuddyPress page (members, profiles, etc.) and the class in my theme is cb-cat-header.

    Normally I would just use cb-cat-header { display:none; }, but that eliminates the header on all my pages, including my categories page which I’m using heavily. If BuddyPress had page-IDs I could easily reference, I would use that, but no such luck.

    Any help would be much appreciated, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

  • danbp
    Moderator

    @danbp

    You must check BP’s templates to get the correct css or to use Firebug (or similar) to find easily what you search. Or search in the page source for a H1 tag…

    Ie site activity page title looks like: <h1 class="entry-title">Site-Wide Activity</h1>

    Add this to your child theme syle.css file and give a try

    h1.entry-title {
        display: none!important;
    }

    travisparkermar
    Participant

    @travisparkermar

    The member page, for example, looks like this: <h1 id="cb-cat-title">Members</h1>

    However, adding

    h1.cb-cat-title {
    	display: none !important;
    }

    doesn’t work. The big issue is trying to be selective, in only removing the BuddyPress pages’ titles (not any of my main pages).

    Thanks for your help on this!


    danbp
    Moderator

    @danbp

    This is not how your child theme should fire a BP page…
    Have you a “buddypress” folder in your child ?

    Which theme do you use ?


    travisparkermar
    Participant

    @travisparkermar

    I’m using the theme Valenti.

    And no “buddypress” folder in my child, I’m afraid. Should I create one?


    danbp
    Moderator

    @danbp

    Afaik yes ! Except if you like to do and redo your customization after each update or to come here to get help… RTFM Travis !


    travisparkermar
    Participant

    @travisparkermar

    Thanks for pointing me in the right direction. There’s so much info out there I’m trying to parse together where to look to solve my problems.

    Have a good one.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar