Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] How to add css class to buddypress buttons ?

  • Avatar of meg@info
    meg@info
    Participant

    @megainfo

    Hi,

    Im working in new theme, and i want to add some new css class to the buttons of buddypress
    ( for example, join group, leave group….)

    is there a hook or action that help to add css class to button ?

    —-

    Updated!

    i think found it, i was use a filter

    Code:
    function bp_add_link_class_get_group_join_button( $button ) {
    $button['link_class'] .= ‘btn btn-mini’;
    return $button;
    }
    add_filter( ‘bp_get_group_join_button’, ‘bp_add_link_class_get_group_join_button’ );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.