- Log in to the Magento admin backend using the credentials.
- Click on the stores from the sidebar.

- Then, click on the Configuration option

- Click on General->Web.

- Scroll down to the Default Cookie settings in the right side of the page as shown below:

- Cookie Restriction Mode will be the default “NO” and we need to enable it.
- Cookie Domain should be filled.
- After applying the CSS style to the pop up it will be as below:
