Articles on: Cookie Consent
This article is also available in:

❌ How to Let Visitors Close or Collapse the Cookie Banner

You can let visitors collapse your cookie banner to a slim bar or close it with an X button. This is useful when the banner covers part of a page, but it works differently from a normal Accept or Decline choice.



⚠️ Before You Begin


Make sure:


  • GDPR EU Cookie Banner is installed and the App Embed is enabled
  • Your banner is published


💡 These two options are in the Behavior tab, in a card called Banner controls.



🛠️ Step 1 — Open Banner Controls


➡️ Open GDPR EU Cookie Banner → Banner settings


➡️ Click the Behavior tab


➡️ Scroll to Banner controls



⚙️ Step 2 — Choose the Controls


Show collapse icon


Allow customers to collapse/expand banner content


When ticked, a small arrow appears in the banner. Clicking it shrinks the banner to a slim bar and clicking it again expands it.


Show close icon


Allow customers to close banner with 'X' button


When ticked, an X appears in the top-right corner of the banner.


You can tick one, both, or neither.



💾 Step 3 — Style the Icons (Optional)


➡️ Open the Design tab


➡️ Find the icon settings


  • Close icon color
  • Arrow icon color


➡️ Click Save



🔄 What Happens When a Visitor Uses Them


Collapse


  • The banner shrinks to a slim bar
  • The text and buttons are hidden
  • The visitor can expand the banner again at any time


Close


  • The banner disappears
  • No consent choice is saved
  • Non-essential cookies stay blocked, because the visitor did not accept (with the Decline only banner type, all cookies are allowed by default instead)
  • The banner will appear again on the next page load, until the visitor clicks Accept, Decline, or saves preferences


Re-open button


If you want visitors to bring the banner back after closing it:


➡️ Open Behavior → Re-open banner


➡️ Tick Show re-open button


A small button stays in the corner of the screen so visitors can open the banner again. After closing the banner with the X, this button appears.


💡 Do not confuse this with Display after your page loads, which delays how long the banner waits before it appears.



🧪 Expected Result


  • The preview in the app shows the arrow and X icons when you tick them
  • On your storefront, the arrow collapses the banner and the X hides it
  • After closing, the banner returns on the next page



🛠️ Troubleshooting


I do not see the icons on the storefront


  • Confirm the options are ticked and you clicked Save
  • Test in an Incognito or Private window


Closing the banner did not stop tracking


Closing is not consent and does not save a choice. If your tracking tools do not run after a visitor closes the banner, that is expected. See 📉 Tracking Stopped After Installing the Cookie Banner [Fixed].


The banner keeps coming back


This is expected until the visitor makes a choice.



⚠️ Important Notes


  • Closing or collapsing the banner is not the same as accepting or declining
  • The Checkout tab only contains the Visible at checkout option. See 💳 How to Show the Cookie Banner at Checkout and Customer Account Pages



🎉 Final Result


✅ Visitors can collapse the banner or close it


✅ Closing does not record consent


✅ A re-open button can bring the banner back

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!