• Resolved Vishal Nakum

    (@vishaltrootech)


    I have setup amp for my websiteTRooTech now google search console shows the issue ” The author stylesheet specified in tag ‘style amp-custom’ is too long – the limit is50000 bytes.

    So i have tested my page on google’s amp test and get the Result

    this is also one page of my website Netflix Similar App Development Page and the amp test result is this
    you can test this url. Google shows this is valid page but my home page is not.

    help me to solve the issue

    • This topic was modified 5 years, 10 months ago by Vishal Nakum.
    • This topic was modified 5 years, 10 months ago by Vishal Nakum.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • AMP restricts custom styles to 50K maximum and this is why you are seeing this error. Please optimize your CSS and remove unnecessary rules to bring the size down to under 50KB.

    Thread Starter Vishal Nakum

    (@vishaltrootech)

    Here is the link of two amp pages and please compare the source code of both pages
    1. Home Page Here
    2. Netflix Similar App Development Page Here

    you can see the difference in both codes. Android development page’s CSS is minified automatically but the home page’s CSS not minified automatically and you know that I cannot edit this amp pages’ internal CSS using this “AMPforWp” Plugin from the dashboard

    Thank you

    • This reply was modified 5 years, 10 months ago by Vishal Nakum.
    • This reply was modified 5 years, 10 months ago by Vishal Nakum.
    • This reply was modified 5 years, 10 months ago by Vishal Nakum.
    • This reply was modified 5 years, 10 months ago by Vishal Nakum.
    • This reply was modified 5 years, 10 months ago by Vishal Nakum.
    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @vishaltrootech,

    It seems on the AMP Homepage. you’re adding the so much of CSS ( Screenshot: https://take.ms/rGPrZ ). May I know where you’re adding this CSS?

    And it’s occurring on your end, We’ve to check and debug the issue on your end. please contact us at [email protected]. Our technical team will debug the issue and let you know the solution.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not a valid AMP page’ is closed to new replies.