• Resolved vonedaddy

    (@vonedaddy)


    I updated the amp plugin on Feb 19th to version 1.4.4 and now the Google search console is showing the following validation errors for almost all of my posts.

    The text inside tag ‘style amp-custom’ contains ‘CSS !important’, which is disallowed.

    CSS syntax error in tag ‘style amp-custom’.

    The tag ‘img’ should be replaced with an equivalent ‘amp-img’ tag.

    Never had any issues before.

    Any help is appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Hi. Where is this CSS code coming from:

    .sh-dropcaps { font-size: 48px!important; font-weight: bold; margin-right: 15px; line-height: 1; float: left; margin: 25px 35px;}

    What theme are you using?

    Thread Starter vonedaddy

    (@vonedaddy)

    Using Gillion theme.

    Interesting, I haven’t changed anything.

    Plugin Author Weston Ruter

    (@westonruter)

    Is that CSS code located in that theme? Since it is from Theme Forest we are limited in how much support we can provide.

    Thread Starter vonedaddy

    (@vonedaddy)

    Thank, I am trying to work with the theme support folks to see if we can get it corrected.

    Thread Starter vonedaddy

    (@vonedaddy)

    I did some digging myself and cannot find that code in any of my css files. It looks like it is only created after the AMP plugin is installed and activated.

    I absolutely can be wrong and I am probably going about the wrong way of finding it.

    @vonedaddy The validation errors appear to be coming from your theme. You’ll see from this example some of the validation errors match your own site.

    The syntax error is as a result of no colon as you’ll see here. There are also comments in the markup, which is not permitted in AMP.

    Your theme developer should be able to assist with these errors.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Feb 19th Update causing validation issues’ is closed to new replies.