Tagged: add class to all inputs
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
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.