Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • 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

    <div class="bbcode_code">
    <div class="bbcode_code_head">Code:</div>
    <div class="bbcode_code_body">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' );</div>
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[resolved] How to add css class to buddypress buttons ?’ is closed to new replies.
Skip to toolbar