Skip to content
Installation
Resurface dialog

Resurface dialog

The cookie settings icon located in the bottom left or right corner of your website provides end users with access to their cookie settings after they have made their initial choice. However, in some cases, this icon may be distracting or may not fit properly into your website's design.

To hide the cookie settings icon in the CookieHub portal, simply select your domain and navigate to the Customize -> Icon. From there, you can find the option to hide the icon.

However, to comply with GDPR and other cookie laws, you may still need to offer the option for users to revoke their consent later. This can be accomplished by creating a custom link on your website that directs users to the Cookie Settings dialog.

There are two ways to create this link. The first method involves adding a class to an existing <a> tag, like this:

<a href="#" class="ch2-open-settings-btn">Open Settings</a>

Alternatively, you can use the JavaScript API, like this:

<a href="javascript:void 0" onclick="window.cookiehub.openSettings()">Open Settings</a>