Posted March 16, 20205 yr I just noticed the ads in the sidebar are now blocked by Adblock Plus. It only seems to effect the sidebar ads and it seems to block all sidebar content whether or not it's ad related. Anyone else see this?
March 16, 20205 yr Author Anyone know how to change the data-role from SidebarAd to something else? This is the cause. When I manually change it using the browser inspector, it's displayed just fine.
March 16, 20205 yr Author I just edited core > front > global > sidebar to change "<div data-role='sidebarAd'>" to "<div data-role='sidebarAXd'>" and it appears to work.
March 18, 20205 yr Author I ran into a problem after changing the template above. The issue is that on mobile, the sidebar doesn't load at the bottom of the page. As soon as I change the template back to sidebarAd rather than sidebarAxd, then it loads on mobile just fine. Is there an actual solution to getting the sidebar to load when people are using adblock plus? The name "sidebarAd" should be a red flag.
March 18, 20205 yr Author Looking further into this, I can't figure out why the sidebar isn't being shown. IN the screenshot below you can see the data-role has my change "sidebarAxd". This enabled it to be shown despite Adblock Plus and it works for the desktop. On mobile (screenshot below) you can still see the image in the code, but it isn't displayed. It's as if there is a display=none somewhere. Does anyone have any clue how to get this working? I opened a support ticket, but this is outside the scope of support.
Archived
This topic is now archived and is closed to further replies.