Replies: 0
The problem with showing the banner in the site header. On the mobile version, the advertising banner is displayed not under the header of the site, but on the side and, accordingly, is not visible. Screenshots are attached. Code showing the advertisement below. Module size: 320×50
Theme version last, WP too. Initially, there was no problem, arose at some point.
P.S. Changes in the format of the banner in the site header (with 728X90 to 428X60) a bit surprised …
Mobile:
https://a.radikal.ru/a01/1805/41/1ee108e8a642t.jpg
PC:
https://a.radikal.ru/a18/1805/d7/aca0b57373bbt.jpg
————–
<!– Yandex.RTB R-A-*****-2 –>
<div id=”yandex_rtb_R-A-*****-2″></div>
<script type=”text/javascript”>
(function(w, d, n, s, t) {
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: “R-A-*****-2”,
renderTo: “yandex_rtb_R-A-*****-2”,
async: true
});
});
t = d.getElementsByTagName(“script”)[0];
s = d.createElement(“script”);
s.type = “text/javascript”;
s.src = “//an.yandex.ru/system/context.js”;
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, “yandexContextAsyncCallbacks”);
</script>