How to Lock Page Content when an Icegram Popup is displayed

To lock page content when a popup is displayed, follow these steps:

Step 1: Edit a campaign / create a new campaign and add a popup as message type.

Step 2: Scroll down to the “Custom Code” option, check the box that says “Add custom code for this message“. This will open up two textboxes; the above one for CSS and below one for Javascript code.

Step 3: Enter this code into the CSS textbox:

Step 4: Enter this code into the JS textbox:

Lock Page Content when popup is shown

Step 5: Publish / Update your campaign.

« Back to FAQ's