Title: Edit CSS for wp-login.php
Last modified: August 30, 2016

---

# Edit CSS for wp-login.php

 *  Resolved [mojamba](https://wordpress.org/support/users/mojamba/)
 * (@mojamba)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/edit-css-for-wp-loginphp/)
 * After initially connecting via a social network, the user is redirected back 
   to the wp-login.php page. My registration form has extra fields that are too 
   wide to be contained in the default login div and so I want to edit the CSS. 
   I thought I could just do that via the login_head or login_enqueue_scripts hooks
   but it seems your script actually re-creates this page in the wsl_process_login_new_users_gateway_start
   function (wsl.users.gateway.php file). That function does not seem to include
   any external CSS file or offer an obvious way to do so. Any ideas how I can change
   this without changing the file (which would obviously be overwritten on the next
   update)?
 * [https://wordpress.org/plugins/wordpress-social-login/](https://wordpress.org/plugins/wordpress-social-login/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [mojamba](https://wordpress.org/support/users/mojamba/)
 * (@mojamba)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/edit-css-for-wp-loginphp/#post-6673608)
 * OK, solved myself. I need to use the register_form hook not the login_head hook.

Viewing 1 replies (of 1 total)

The topic ‘Edit CSS for wp-login.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-social-login_a1a2bc.svg)
 * [WordPress Social Login](https://wordpress.org/plugins/wordpress-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-social-login/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [mojamba](https://wordpress.org/support/users/mojamba/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/edit-css-for-wp-loginphp/#post-6673608)
 * Status: resolved