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.

What's The Catch?

There isn’t one! I’m all about building tools that empower the Joomla community and spark creativity. This software’s free because I’d rather see it in your hands - fueling awesome projects. If you really feel like paying something, I’d appreciate a review in the Joomla Extension Directory—your feedback means a lot!