Created
February 9, 2023 21:50
-
-
Save nathaningram/c214187b2149cf97241e13d4e517f69b to your computer and use it in GitHub Desktop.
Add Stye to iThemes Security Captcha Agree Box
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
// Add Style to iTSec Captcha Agree Text | |
function bww_itsec_captcha_style() { ?> | |
<style type="text/css"> | |
.itsec-recaptcha-opt-in { | |
border: 4px dashed #ff0000 !important; | |
background: #ffffff !important; | |
} | |
.itsec-recaptcha-opt-in::before { | |
content:'AGREE TO TERMS TO LOG IN'; | |
color: #ff0000 !important; | |
font-weight:bold; | |
font-size:18px; | |
} | |
.itsec-recaptcha-opt-in__agree { | |
background: #ff0000 !important; | |
padding: 5px 20px !important; | |
color: #fff !important; | |
text-decoration: none !important; | |
font-weight: bold !important; | |
} | |
</style> | |
<?php } | |
add_action( 'login_enqueue_scripts', 'bww_itsec_captcha_style' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment