Title: Add css class to input elements
Last modified: August 13, 2021

---

# Add css class to input elements

 *  Resolved [geekontheroad](https://wordpress.org/support/users/geekontheroad/)
 * (@geekontheroad)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/add-css-class-to-input-elements/)
 * Are there any hooks available to add my own css class to the actual input elements
   of the login form? I am using a css framework and in order for it to work properly
   I need to add a class to each input element. Hopefully this is possible by either
   using a hook or perhaps overwriting a template file in the child theme? Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Caseproof LLC](https://wordpress.org/support/users/caseproof/)
 * (@caseproof)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/add-css-class-to-input-elements/#post-14779860)
 * Hi [@geekontheroad](https://wordpress.org/support/users/geekontheroad/)
 * We use wp_login_form in the Login form widget, so maybe you can use this code
   snippet: [https://wordpress.stackexchange.com/questions/213024/add-class-to-input-form-in-login-form](https://wordpress.stackexchange.com/questions/213024/add-class-to-input-form-in-login-form)
 * Kind regards

Viewing 1 replies (of 1 total)

The topic ‘Add css class to input elements’ is closed to new replies.

 * ![](https://ps.w.org/members/assets/icon-256x256.png?rev=3508404)
 * [Members - Membership & User Role Editor Plugin](https://wordpress.org/plugins/members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members/)
 * [Active Topics](https://wordpress.org/support/plugin/members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Caseproof LLC](https://wordpress.org/support/users/caseproof/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/add-css-class-to-input-elements/#post-14779860)
 * Status: resolved