Very likely the theme changed elements so the target element is no longer availabe – you would need to update the settings for that block.
Remote debugging doesn’t seem to be enabled:
https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/
Are you still having issues?
Thread Starter
juma33
(@juma33)
Hi @spacetime,
Thanks for your reply and follow up. Yes, I still have problems. I have enabled remote bugging.
I rolled back to the previous version of the theme and the ad showed. After re-updating to latest version, the ad doesn’t show.
I’m not sure which settings in the block I should update.
The HTML element after which there is insertion (After HTML element insertion) is:
body#mh-mobile > div:eq(0) > header > div:eq(0) > div > div > div > a > img
The element is the site title I presume, so the ad should be inserted on the right side of the site title as was the case with the theme’s previous version.
Thanks for your help again.
Your selector is way too complex. Any slight change in the theme layout will break it.
Can you try to insert After HTML element .mh-site-logo:
https://adinserter.pro/documentation/insertion-before-inside-after-html-element
Thread Starter
juma33
(@juma33)
Thanks @spacetime,
The ad now shows when I use .mh-site-logo
However, it is positioned below the site title on the right hand side, leaving a large space above it (where it was previously positioned).
The ad is a normal 728x90px banner and fitted in that position before.
Alignment is set to “right”and I’m using client-side device detection to show only on desktop.
Any suggestion how I can reposition it properly? Thanks.
Use the following custom CSS for block 6:
margin: 8px 0 8px auto; text-align: right; display: block; float: right;
https://adinserter.pro/documentation/alignments-and-styles#custom-css
And put the following code into header:
<style>
.mh-site-logo {
float: left;
}
</style>
https://adinserter.pro/documentation/header-and-footer-code
Thread Starter
juma33
(@juma33)
Works perfectly now! Thank you so much for your kind and speedy assistance @spacetime. Great support!
Kind regards,
AB