Theme & Front End CSS Beginner

Hide the reCAPTCHA Badge the Allowed Way

Hide Google's floating reCAPTCHA badge while keeping the required notice, so forms stay protected and within Google's terms.

Tested on WordPress 7.1 No plugin needed Updated
style.css 9 lines
/* Hide the floating badge. Don't use display: none, it stops reCAPTCHA working. */
.grecaptcha-badge {
	visibility: hidden;
}

/* Then add this text to each protected form:
   This site is protected by reCAPTCHA and the Google
   <a href="https://policies.google.com/privacy">Privacy Policy</a> and
   <a href="https://policies.google.com/terms">Terms of Service</a> apply. */

Where to add this

Recommended Additional CSS Appearance → Customize → Additional CSS, or your page builder's global CSS.
Child theme At the end of your child theme's style.css file.
A code snippets plugin As a CSS snippet set to load on the front end.

reCAPTCHA v3 adds a floating badge to the bottom corner of every page, which can cover chat widgets and “back to top” buttons. Google allows hiding it, as long as you show a short notice near your forms.

How it works

visibility: hidden hides the badge while leaving it in the page, which reCAPTCHA needs to keep working. display: none removes it completely and can break scoring, so don’t use that.

Google’s terms say that if you hide the badge, you must include the reCAPTCHA notice, with links to Google’s Privacy Policy and Terms, in the user flow, such as under the submit button.

Things to watch

  • Add the notice to every form reCAPTCHA protects, not just one.
  • Mention reCAPTCHA in your privacy policy too, since it sends visitor data to Google.

How to test it

Load a page with a reCAPTCHA-protected form. The badge should be gone and the form should still submit.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only