Created
August 5, 2020 06:12
-
-
Save meetawahab/d29ac300ddebe13d57270ba37adcabfb to your computer and use it in GitHub Desktop.
Remove WordPress registration link from login forms through custom CSS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** For removing "|" symbol, that fall between 2 links. */ | |
.login-action-login #nav, .login-action-lostpassword #nav { | |
font-size: 0; | |
} | |
/** For removing registration link on login form. */ | |
.login-action-login #nav a:first-child{ | |
display: none; | |
} | |
/** For removing registration link on lost password form. */ | |
.login-action-lostpassword #nav a:nth-child(2){ | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment