The parent tag of tag ‘style amp-custom’
-
The latest version of you hurt me a lot. The plugin started to add the style tag on the AMP pages, since then my traffic started to drop a lot. I thought it was the effect of google updates but only today did I find out that it was due to the ad inserter that is inserting the following code into my amp pages:
<style>
.ai-viewports {–ai: 1;}
.ai-viewport-3 { display: none ;}
.ai-viewport-2 { display: none ;}
.ai-viewport-1 { display: inherit ;}
.ai-viewport-0 { display: none ;}
@media (min-width: 768px) and (max-width: 979px) {
.ai-viewport-1 { display: none ;}
.ai-viewport-2 { display: inherit ;}
}
@media (max-width: 767px) {
.ai-viewport-1 { display: none ;}
.ai-viewport-3 { display: inherit ;}
}
.code-block-center {margin: 8px auto; text-align: center; display: block; clear: both;}
.code-block-2a65fed9c78254ab91a4e2aca6b1fa01 {margin: 8px auto; text-align: center; display: block;}
.code-block-default {margin: 8px 0; clear: both;}
.ai-align-left * {margin: 0 auto 0 0; text-align: left;}
.ai-align-right * {margin: 0 0 0 auto; text-align: right;}
.ai-center * {margin: 0 auto; text-align: center; }
</style>
- The topic ‘The parent tag of tag ‘style amp-custom’’ is closed to new replies.