Saltar al contenido

Este artículo aún no se ha traducido, así que estás leyendo el original en inglés.

Know-How

How to Hide Gemini, Upgrade, Refine, and Floating Buttons in Google Docs™

Hide the new “Try Gemini” sparkle, the Upgrade button, Gemini bottom bar, Refine suggestions, and floating comment buttons in Google Docs™ with one Stylus CSS snippet.

Travis

Travis

Publicado

3 min de lecturaActualizado

Google Docs™ can place several controls around your document while you write: floating comment buttons, a Refine suggestion when you select text, an Upgrade promotion in the toolbar, a Gemini prompt at the bottom, and a small Try Gemini sparkle in the top-right corner.

The floating buttons provide quick access to Add Comment, Add Emoji Reaction, and Suggest Edits.

When you select text, the Refine button may also appear with AI-powered writing suggestions.

The current compact Try Gemini control uses this four-color sparkle:

Depending on your Google Docs rollout, you may instead see an older blue Gemini icon or a larger Ask Gemini button.

You can hide these controls with the Stylus browser extension, which applies your own CSS to a website.

Important: This method only hides the buttons in your browser. It does not disable Gemini or change your Google Workspace account settings. Google can also rename its internal page elements, so the CSS may need another update after a Docs interface change.


Step 1: Install the Stylus Extension#

Disclaimer: We are not affiliated with the Stylus extension or its developers. Stylus is a third-party browser extension.

Install Stylus for your browser:


Step 2: Create a Custom Style for Google Docs#

  1. Open a Google Doc.
  2. Click the Stylus icon in your browser toolbar, then select Manage.
  3. Click Write new style on the left.
  1. Under Applies to, change URLs on the domain to URLs starting with.
  1. Enter this URL:
text
https://docs.google.com/document/
  1. Paste this CSS into the main editor:
css
/* Hides the floating comment, emoji, and suggestion buttons */
.inlineFabBubbleContainer {
    visibility: hidden !important;
}

/* Hides the "Refine" pop-up shown for selected text */
#docs-instant-bubble {
    display: none !important;
}

/* Hides older and current Gemini buttons in the top-right toolbar */
.appsElementsSidekickEntryPointRoot,
.appsElementsSidekickAuroraEntryPointRoot,
#docs-sidekick-gen-ai-promo-button-container {
    display: none !important;
}

/* Hides the Google Workspace premium "Upgrade" button */
#workspace-onegoogle-pep-container {
    display: none !important;
}

/* Hides the Gemini pill or prompt at the bottom of the document */
.kixWizBarkickWrapper {
    display: none !important;
}
  1. Give the style a name such as Cleaner Google Docs, click Save, and make sure Enabled is checked.

Refresh the Google Docs tab. The selected controls should now be hidden.


What Each Selector Hides#

SelectorGoogle Docs control
.inlineFabBubbleContainerFloating comment, emoji reaction, and suggestion buttons
#docs-instant-bubbleRefine pop-up shown when text is selected
.appsElementsSidekickEntryPointRootOlder Ask Gemini toolbar button
.appsElementsSidekickAuroraEntryPointRootNew compact Try Gemini sparkle button
#docs-sidekick-gen-ai-promo-button-containerContainer for the new Try Gemini sparkle button
#workspace-onegoogle-pep-containerGoogle Workspace premium Upgrade button
.kixWizBarkickWrapperGemini pill or prompt at the bottom of the document

Keeping both the older and newer Gemini selectors in the style helps it work across different Google Docs interface rollouts.

Prefer Google’s Built-In Setting for the Bottom Bar?#

Google Docs now provides a setting for its Gemini bottom bar. Open the Gemini menu, choose Bottom bar preferences, and turn the bar off. Stylus is still useful when you also want to hide the top-right sparkle, Refine pop-up, or floating collaboration buttons.

For the account-level options and their trade-offs, see How to Turn Off Gemini and AI Features in Google Docs™.


Troubleshooting#

The New Try Gemini Sparkle Is Still Visible#

Confirm that your style includes both the Aurora class and the promo-container ID:

css
.appsElementsSidekickAuroraEntryPointRoot,
#docs-sidekick-gen-ai-promo-button-container {
    display: none !important;
}

Then save the style and refresh Google Docs. The promo-container selector was verified against the current Google Docs interface on July 22, 2026.

The Upgrade Button Is Still Visible#

Confirm that your style includes the Workspace promotion container:

css
#workspace-onegoogle-pep-container {
    display: none !important;
}

Save the style and refresh Google Docs. This selector was verified against the current Upgrade button on July 22, 2026.

Stylus Does Not Appear in the Browser Toolbar#

In Chrome:

  1. Click the three dots (⋮) in the top-right corner.
  2. Select Extensions, then Manage Extensions.
  3. Find Stylus and click Details.
  4. Enable Pin to toolbar.

A Button Reappeared After a Google Docs Update#

Google controls the Docs interface and may rename the classes used above. First refresh the page and confirm the Stylus style is enabled. If the button remains, inspect it again in browser developer tools to find its current container class or ID.


Prefer Tools That Only Act When You Ask?#

If you are hiding Gemini buttons in Docs, you probably want an interface that stays quiet until you need it. Our free add-on works that way by design.

Text To Table Converter

Obtén el complemento gratis

Text To Table Converter

AI on your terms — Text To Table Converter: tables, OCR, mail merge, and writing tools in a sidebar you open deliberately. No floating buttons, and AI runs only when you click.

Instalar gratis

Next Step: Organize Your Entire Document#

¿Esto resolvió tu problema?

Sigue leyendo