Chris027 Posted March 18, 2020 Posted March 18, 2020 Hi Guys - As I wrote in this topic - HERE - we need to change the data-role name from sidebarAd to something without the name "Ad" in it because Adblock Plus blocks anything with this name. I can rename the data-role in the template but then the sidebar has trouble being displayed on mobile devices for some reason (see linked topic above). Question: What's the best way to rename a data-role?
bfarber Posted March 19, 2020 Posted March 19, 2020 Typically data-* attributes are leveraged for other things, such as javascript, and you can't just rename it without any consequences.
Chris027 Posted March 19, 2020 Author Posted March 19, 2020 Just now, bfarber Typically data-* attributes are leveraged for other things, such as javascript, and you can't just rename it without any consequences. Thanks for the reply. That’s what I ran into with the sidebar not loading on mobile when I changed the name in the template. Given that Adblock Plus is blocking sidebarAd, what can we do about this? Thanks for any help you can provide.
Recommended Posts