Custom Fields
Support MB User Profile Add class to button(submit) rwmb_login form

  • Creator
  • #22894
    Resolved Totis-Tautvydas Rakickas

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #22896
    Long Nguyen

    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


    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?

    Long Nguyen


    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 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.