Disable scrolling while the banner is visible

[ad_1]

Hi,

I would like to disable website scrolling while the banner is visible.
Like adding a css “overflow: hidden;” to <html> and <body> tag.

But i do not know how to do, could you add class to <html> and <body> tag ?

Example : <html class=”cmplz-banner-visible”>…

Or maybe you have another solution…

Thanks very much !

  • This topic was modified 10 hours, 10 minutes ago by mkarena.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer