“Layout: center” does not work
-
Hello,
I cannot put an ad on center position and hope that someone could help me out.
I am using General > Ads > Plain Text / HTML / JS and selecting center as a Layout.Also the ad is responsive as shown below.
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXX”
crossorigin=”anonymous”></script>
<style>
.eyecatch_responsive { width:300px; height: 50px;}
@media(min-width:641px) { .eyecatch_responsive { width: 336px; height: 280px; } }
@media(min-width:729px) { .eyecatch_responsive { width: 728px; height: 90px; } }
@media(min-width:801px) { .eyecatch_responsive { width: 336px; height: 280px; } }
@media(min-width:1135px) { .eyecatch_responsive { width: 728px; height: 90px; } }
</style>
<ins class=”adsbygoogle eyecatch_responsive”
style=”display:block”
data-ad-client=”ca-pub-XXXXXXXXXXXX”
data-ad-slot=”XXXXXXXX”>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>Thanks in advance!
- The topic ‘“Layout: center” does not work’ is closed to new replies.