Adding a few tweaks on your functions.php file will let you customize your login page. Hereās what you need to do.
- In your current theme directory (../wp-content/themes/your-theme-name), add a folder called āloginā. Create a CSS file inside the login folder and name it custom-login-styles.css
- Next, add the following code into your functions.php file and save it.
- Log into your WordPress Admin interface.
- Go to Appearance.
- Go to Theme Editor.
- In the right menu find functions.php
- Copy and paste the code below at the end of functions.php
- Publish.
function my_custom_login() { echo ''; } add_action('login_head', 'my_custom_login');
Simply customize your CSS file, custom-login-styles.css. This will reflect on the login page.
This post was updated on Friday / August 2nd, 2019 at 3:46 PM