HOSKIA INDIA Posted June 22, 2019 Share Posted June 22, 2019 how to hide protected by reCAPTCHA its not looking good https://prnt.sc/o57lp3 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 22, 2019 Share Posted June 22, 2019 1 minute ago, HOSKIA INDIA said: how to hide protected by reCAPTCHA its not looking good https://prnt.sc/o57lp3 you could use CSS to hide it (2nd code example in the thread below)... ... but Google insist if you hide it, that you include the reCAPTCHA branding visibly in the user flow. 0 Quote Link to comment Share on other sites More sharing options...
HOSKIA INDIA Posted July 22, 2019 Author Share Posted July 22, 2019 @brian! and technically, you could hide it with the css code below (it still validates), but that would almost certainly be against Googles T&Cs... .grecaptcha-badge { visibility: hidden; } where i need to add the code ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 22, 2019 Share Posted July 22, 2019 (edited) if you were using Six, then it would be in the /templates/six/css/custom.css file... but because you're using ClientX, i've no idea - looking at your site source code, there doesn't seem to be an equivalent custom.css file in that template, so you might need to contact WGS to see which existing file you should edit (if indeed they think you should). ultimately, you could do it as a hook if that is easier for your circumstances. <?php function hide_google_recaptcha_logo_css_hook($vars) { return '<style>.grecaptcha-badge {visibility: hidden;}</style>'; } add_hook("ClientAreaFooterOutput", 1, "hide_google_recaptcha_logo_css_hook"); ?> Edited July 22, 2019 by brian! 0 Quote Link to comment Share on other sites More sharing options...
HOSKIA INDIA Posted July 22, 2019 Author Share Posted July 22, 2019 @brain! 2 hours ago, HOSKIA INDIA said: @brian! and technically, you could hide it with the css code below (it still validates), but that would almost certainly be against Googles T&Cs... .grecaptcha-badge { visibility: hidden; } where i need to add the code ? its worked 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.