Support › MB User Profile › Add class to button(submit) rwmb_login form
Hi , i am kind of stuck trying to add class to rwmb login form , how do i do it ? In regard how to assign css classess to any login/register forms?
There are 3 forms supported:
- Registration form
- Login form
- Profile form
with the corresponding form ID:
You can use the form ID to select the submit button on a form like this: #login-form #submit
what i was trying to say i would like to asign class btn btn-default to "submit" button, is there a way to do so without JS with filters or somehow?
I'm going to create a feature request to support a filter hook to add classes for the submit button. At this time, please use the JS code to addClass for #submit button.