Hi,
We are experiencing a weird issue with the sidebars on the article pages of https://irishgolfer.ie – so for example on https://irishgolfer.ie/latest-golf-news/2020/10/06/bridgestone-race-set-for-close-finish-at-rosapenna/
Basically, whenever we ad a an ad block with a custom ad shortcode to one of the sidebars they stop being sticky and no longer follow you down the page as you scroll. You can see on the example page a left sidebar that is sticky (no ad inserted) and a right side bar that has the ad inserted and is no longer sticky.
If we remove the ad, it is sticky again. It’s very strange!
We have been struggling with this issue for a number of weeks now so any help would be appreciated. Any ideas?
Of course! The ad script is inserted via a shortcode from the Ad Inserter plugin. This is the script:
<!– Half Page [async] –>
<script type=”text/javascript”>if (!window.AdButler){(function(){var s = document.createElement(“script”); s.async = true; s.type = “text/javascript”;s.src = ‘https://digital.matchplaymedia.ie/app.js’;var n = document.getElementsByTagName(“script”)[0]; n.parentNode.insertBefore(s, n);}());}</script>
<script type=”text/javascript”>
var AdButler = AdButler || {}; AdButler.ads = AdButler.ads || [];
var abkw = window.abkw || ”;
var plc356310 = window.plc356310 || 0;
document.write(‘<‘+’div id=”placement_356310_’+plc356310+'”></’+’div>’);
AdButler.ads.push({handler: function(opt){ AdButler.register(175632, 356310, [300,600], ‘placement_356310_’+opt.place, opt); }, opt: { place: plc356310++, keywords: abkw, domain: ‘digital.matchplaymedia.ie’, click:’CLICK_MACRO_PLACEHOLDER’ }});
</script>
Hi, is this enough information or do you need more? Is there a way we can chat more frequently?
We purchased another 6 months of support especially so we could talk to support and get this fixed ASAP as it has had a negative effect on our advertising.
Many thanks!
Hi,
I just made a test using the code -> https://pastebin.com/JYZE1qbV and for me the sticky sidebar is still working https://i.imgur.com/bZkO5gV.png -> https://pastebin.com/JYZE1qbV -> https://i.imgur.com/EFweU2A.png
Please try like me and let me know the results!
Thank you!
Hi,
No change when we use this code unfortunately.
We were previously experiencing another problem with the right sidebar, maybe it’s related: it started to appear under the left sidebar and leaving a blank space where it should have been on the right. We only managed to fix it with this custom CSS:
.td-pb-row:before, .td-pb-row:after {
display: inline!important;
content: ”;
}
Could this be preventing the sticky function from working? But if we remove this CSS, the right sidebar once again goes to the wrong place.
Thank you for your help
Hmm, so if you keep the css code and remove the adsense code the sticky sidebar start to work ? if yes then it can be other problems, please make a full backup and send us an email at contact@tagdiv.com and provide admin login and cPanel. We will take a look. Include a link to this topic in the email.
Thank you!