How to automatically display an information block on the White Label website

The Travelpayouts White Label tool can display a block with any information, advertisement or image with a certain delay. This is an aggressive method, so use it carefully as to not cause a negative experience for your visitors.

Preparing for the addition of an extension

At first, add the jquery library connection code to make everything work correctly. Open the White Label settings and go to the Footer section.

Add the following code in the code input box:


Please note! The jquery library connection code is only added once. If you add other White Label extensions, you do not need to re-insert the code.


Adding an information block

To add a block call, open the White Label settings and go to the Header section. Add the following code:

<div class="block-inform">
Some text

Go to the Footer tab and add the following code to start displaying the block:

window.onload = function() {
setTimeout(function() { $(".block-inform").show(500); }, 5000);

5000 in setTimeout function means the time in milliseconds after which a pop-up window will appear once the White Label is opened.

Style setting

To change the style of the pop-up window, go to the Color Scheme tab and add the following code before the closing the </style> tag:

 .block-inform {
position: fixed;
top: 20px;
right: 20px;
background: #000;
color: #fff;
padding: 30px;
display: none;

You can change the style as you like. If you lack knowledge of CSS, find a freelance developer who can help you.