Title: [Plugin: Sidebar Login] styling input fields
Last modified: August 19, 2016

---

# [Plugin: Sidebar Login] styling input fields

 *  [lauras2009](https://wordpress.org/support/users/lauras2009/)
 * (@lauras2009)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-sidebar-login-styling-input-fields/)
 * I love this plugin but I am having trouble with one thing.
 * The styling of the text input fields in the sidebar-login module is conflicting
   with the styling of the input fields on the login/registration pages, even though
   I have created different classes for each.
 * I added ‘class=”small”‘ to the sidebar-login.php input fields, i.e.,
    <p class
   =”login”><input … id=”user_login” class=”small” /></p>.
 * I have created a class called #user_login.small (or input#user_login.small, or
   p.login input#user_login.small … tried lots of things) that sets the size of 
   these input fields.
 * However the input fields insist on taking their styling from a different class
   selector, namely: input#user_login.
 * Why can’t I seem to add class=”small” to the input fields and have it be recognized
   by the stylesheet? Is there any way around this?
 * I am using FF on Mac OSX. I need it to work on IE and FF, for Windows, Mac.
 * Thanks much for any help,
 * Laura S.
 * [http://wordpress.org/extend/plugins/sidebar-login/](http://wordpress.org/extend/plugins/sidebar-login/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [lauras2009](https://wordpress.org/support/users/lauras2009/)
 * (@lauras2009)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-sidebar-login-styling-input-fields/#post-1187897)
 * Argh, I think I figured it out.
 * I had a trailing comma after the style selector:
    input#user_login.small, input#
   user_pass.small, { … }
 * Once I got rid of the comma, two hours later, problem solved.
 *  [Alex](https://wordpress.org/support/users/mcnx/)
 * (@mcnx)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-sidebar-login-styling-input-fields/#post-1188171)
 * Sorry, this is not my field of expertise, and I’m having same issue. How was 
   the full text of the style selector?
    Thank you Alex

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Sidebar Login] styling input fields’ is closed to new replies.

## Tags

 * [input](https://wordpress.org/support/topic-tag/input/)

 * 2 replies
 * 2 participants
 * Last reply from: [Alex](https://wordpress.org/support/users/mcnx/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-sidebar-login-styling-input-fields/#post-1188171)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
