Skip to content

How to Hide the Close Button on Messages in Engage

Pro

Remove or hide close buttons on required announcements, terms agreements, or age verification overlays using Icegram Engage.

In certain scenarios—such as mandatory age-verification gates, terms acceptance, or cookie consent walls—you may want to ensure visitors interact directly with the provided buttons rather than dismissing the overlay via the default close icon.

Steps to Hide the Close Button

  1. In your WordPress dashboard, go to Icegram Engage → Campaigns and edit your overlay message.

  2. Scroll to the Custom Code section at the bottom of the message editor.

  3. In the Custom CSS field, paste the following snippet:

    .icegram_overlay .icegram_close_btn {
      display: none !important;
    }

    Custom CSS code box in Icegram Engage message editor

  4. Save your changes.