Add class to button(submit) rwmb_login form

Support MB User Profile Add class to button(submit) rwmb_login formResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22894

    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?

    #22896
    Long NguyenLong Nguyen
    Moderator

    Hi Totis,

    There are 3 forms supported:
    - Registration form
    - Login form
    - Profile form

    with the corresponding form ID:
    - register-form
    - login-form
    - profile-form

    You can use the form ID to select the submit button on a form like this: #login-form #submit

    #22902

    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?

    #22907
    Long NguyenLong Nguyen
    Moderator

    Hi,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.