black friday sale

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

  • Creator
    Topic
  • #22894
    Resolved Totis-Tautvydas Rakickas
    Participant

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