BuddyDev

Search

[Resolved] Add class to all inputs generated by buddypress and or / xprofile


  • Participant
    Level: Initiated
    Posts: 12
    Nushara on #28346

    So I am using some css framework to design all my inputs and buttons etc. But I am in need for a function to add a class to all inputs (selects, type text, textarea etc.) so they can be design by the framework.

    I have found out I can do this by adding them on “class-bp-xprofile-field-type-selectbox.php” or the other php files in the “wp-content\plugins\buddypress\bp-xprofile\classes” folder for example. But then I would face issues after updating them.

    So my question is if there is a simple function to add my class to them without changing the plugins source file?

    Thank you very much,

    best regards,

    – Mike from Nushara


  • Keymaster
    (BuddyDev Team)
    Posts: 13884
    Brajesh Singh on #28353

    Hi Mike,
    Thank you for the question.

    I am sorry, I do not see any straight forward option for this.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved
Subscribe