1 month ago

pop-up not 350 on 350

Posted 1 month ago by swimmer

I am trying to create a pop-up which works only for suppliers. And only if they have in their local storage.

localStorage.setItem('do_supplier_popup', 'yes');

Our web site address is

I only want the “popup” to appear in a 350 on 350 length.

Currently it is on the full length of the site.

What am I doing wrong?

You can find my CSS at the following link:

The JS

and the HTML relevant to the popup at


In order to view the pop-up you need to put into your console localStorage.setItem('do_supplier_popup', 'yes');

Please sign in or create an account to participate in this conversation.