If you want to have an unobtrusive message suggesting that users disable their ad blocker, this might be what you're looking for.

In the System - Ad Block Reactor plugin, add the following action:

var bar = jQuery('<div/>')
.css('background-color','#900')
.css('text-align','center')
.css('color','#fff')
.css('padding','10px')
.css('position','fixed')
.css('bottom','0px')
.css('left','0px')
.css('width','100%');
bar.text('We rely on advertisements to monetize the site. Please disable your ad blocker.');
bar.appendTo(document.body);

The code above places the bar on the bottom, but you can easily change it to the top by changing .css('bottom','0px') to .css('top','0px')

The colors can also be easily changed by editing the background-color and color values.

If you used the code above unchanged, it should look like this:

sticky footer screenshot

 

A modified version of this is running on https://gdpr.richeyweb.com

Why is this software free?

I’m ditching the freemium game and giving this software to the Joomla crowd for free. It’s a nod to “Jumla”—Swahili for “all together”—because fragmentation sucks, and I’d rather focus on innovation and paid gigs. Use it, build with it, and if you need custom work, I’m super into that.

Will You Make X for WordPress?

No. WordPress accounted for over 96% of the websites infected with malware in 2022, and 99.4% of all security vulnerabilities were found in themes and plugins in 2021. I have personally witnessed a WordPress site hack destroy a company. I won't touch that CMS with a 10-foot pole.