Support » Plugin: AdSense Plugin WP QUADS » Get rid of styles in

  • Hi,

    I want to use this plugin with Google Amp Project which I enabled using Automatic’s AMP plugin. Everything seems to be working find until I enable your Plugin.

    Basically the Amp Validator Extension as well as the official tool says “The attribute ‘style’ may not appear in tag ‘div’.

    Which means that AdSense Plugin WP QUADS is inserting the adsense code inside the post using a <div> with <style> tag.

    What I want to accomplish is deactive the styles of the div in which adsense code is added.

    Even if I choose “None” option from “Align” settings and remove the padding, it still has

    "<div class="quads-location quads-id3" style="float:none;margin:0px;">"
    ADSENSE CODE
    </div>

    What I want it to be it something like this.

    <div class="quads-location quads-id3">
    ADSENSE CODE
    </div>

    [Moderator note: Please, no bumping.]

    • This topic was modified 2 years, 8 months ago by  Steve Stern.
    • This topic was modified 2 years, 8 months ago by  Steve Stern.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get rid of styles in’ is closed to new replies.