{"id":15309,"date":"2019-08-22T18:26:49","date_gmt":"2019-08-22T16:26:49","guid":{"rendered":"https:\/\/www.wp-amazon-plugin.com\/?post_type=knowledgebase&#038;p=15309"},"modified":"2019-08-22T18:26:49","modified_gmt":"2019-08-22T16:26:49","slug":"amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long","status":"publish","type":"knowledgebase","link":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/","title":{"rendered":"AMP issue: &#8222;The author stylesheet specified in tag &#8217;style amp-custom&#8216; is too long&#8220;"},"content":{"rendered":"<p>If you receive a message like this from Google AMP Validator &#8230;<\/p>\n<p><strong>&#8222;The author stylesheet specified in tag &#8217;style amp-custom&#8216; is too long \u2013 document contains 50154 bytes whereas the limit is 50000 bytes.&#8220;<\/strong><\/p>\n<p>&#8230;\u00a0then this is because a maximum of 50 kilobytes of individual CSS is currently allowed on an AMP page. For more information about this policy, please see the documentation page &#8222;<a href=\"https:\/\/www.ampproject.org\/docs\/troubleshooting\/validation_errors#style-and-layout-errors\" target=\"_blank\" rel=\"noopener noreferrer\">Style and layout errors<\/a>&#8220; of the AMP project.<\/p>\n<p><a href=\"https:\/\/asa2.info\/wp-content\/uploads\/2018\/07\/AMP_Test_\u2013_Google_Search_Console.png\"><img decoding=\"async\" class=\"size-full wp-image-15310 aligncenter\" src=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console.png\" alt=\"\" width=\"615\" height=\"266\" srcset=\"https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console.png 615w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console-300x130.png 300w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console-125x54.png 125w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console-75x32.png 75w, https:\/\/d1uajaf4ht87ft.cloudfront.net\/wp-content\/uploads\/2019\/08\/22182619\/AMP_Test_%E2%80%93_Google_Search_Console-100x43.png 100w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/a><\/p>\n<div id=\"\" class=\"x-alert x-alert- x-alert-block\" style=\"danger\">Note: AMP restricts custom styles to 50 Kilobyte maximum!<\/div>\n<h2>Solution<\/h2>\n<p>Reduce the size of the custom stylesheet used on this page to be under 50 Kilobytes.<\/p>\n<p>ASA2 can&#8217;t do that automatically. The more different templates you use on one page, the more CSS has to be loaded. <strong>Reduce the number of different ASA2 templates on one page<\/strong> to not exceed the 50 kilobyte maximum.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you receive a message like this from Google AMP Validator &#8230; &#8222;The author stylesheet specified in tag &#8217;style amp-custom&#8216; is too long \u2013 document contains 50154 bytes whereas the limit is 50000 bytes.&#8220; &#8230;\u00a0then this is because a maximum of 50 kilobytes of individual CSS is currently allowed on an AMP page. For more information about this policy, please &#8230; <\/p>\n<div><a href=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\" class=\"more-link\">Read More<\/a><\/div>\n","protected":false},"author":1170,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[210],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AMP issue: &quot;The author stylesheet specified in tag &#039;style amp-custom&#039; is too long&quot; - Amazon Simple Affiliate<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AMP issue: &quot;The author stylesheet specified in tag &#039;style amp-custom&#039; is too long&quot; - Amazon Simple Affiliate\" \/>\n<meta property=\"og:description\" content=\"If you receive a message like this from Google AMP Validator &#8230; &#8222;The author stylesheet specified in tag &#8217;style amp-custom&#8216; is too long \u2013 document contains 50154 bytes whereas the limit is 50000 bytes.&#8220; &#8230;\u00a0then this is because a maximum of 50 kilobytes of individual CSS is currently allowed on an AMP page. For more information about this policy, please ... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\" \/>\n<meta property=\"og:site_name\" content=\"Amazon Simple Affiliate\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpasa2\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/AMP_Test_\u2013_Google_Search_Console.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ifeelwebde\" \/>\n<meta name=\"twitter:label1\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\",\"url\":\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\",\"name\":\"AMP issue: \\\"The author stylesheet specified in tag 'style amp-custom' is too long\\\" - Amazon Simple Affiliate\",\"isPartOf\":{\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/#website\"},\"datePublished\":\"2019-08-22T16:26:49+00:00\",\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wp-amazon-plugin.com\/#website\",\"url\":\"https:\/\/www.wp-amazon-plugin.com\/\",\"name\":\"Amazon Simple Affiliate\",\"description\":\"Upgrade your WordPress Affiliate skills!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wp-amazon-plugin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AMP issue: \"The author stylesheet specified in tag 'style amp-custom' is too long\" - Amazon Simple Affiliate","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/","og_locale":"de_DE","og_type":"article","og_title":"AMP issue: \"The author stylesheet specified in tag 'style amp-custom' is too long\" - Amazon Simple Affiliate","og_description":"If you receive a message like this from Google AMP Validator &#8230; &#8222;The author stylesheet specified in tag &#8217;style amp-custom&#8216; is too long \u2013 document contains 50154 bytes whereas the limit is 50000 bytes.&#8220; &#8230;\u00a0then this is because a maximum of 50 kilobytes of individual CSS is currently allowed on an AMP page. For more information about this policy, please ... Read More","og_url":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/","og_site_name":"Amazon Simple Affiliate","article_publisher":"https:\/\/www.facebook.com\/wpasa2\/","og_image":[{"url":"https:\/\/www.wp-amazon-plugin.com\/wp-content\/uploads\/2019\/08\/AMP_Test_\u2013_Google_Search_Console.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@ifeelwebde","twitter_misc":{"Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/","url":"https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/","name":"AMP issue: \"The author stylesheet specified in tag 'style amp-custom' is too long\" - Amazon Simple Affiliate","isPartOf":{"@id":"https:\/\/www.wp-amazon-plugin.com\/#website"},"datePublished":"2019-08-22T16:26:49+00:00","inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-amazon-plugin.com\/de\/knowledge-base\/asa2\/amp\/amp-issue-the-author-stylesheet-specified-in-tag-style-amp-custom-is-too-long\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wp-amazon-plugin.com\/#website","url":"https:\/\/www.wp-amazon-plugin.com\/","name":"Amazon Simple Affiliate","description":"Upgrade your WordPress Affiliate skills!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-amazon-plugin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15309"}],"collection":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/users\/1170"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/comments?post=15309"}],"version-history":[{"count":2,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15309\/revisions"}],"predecessor-version":[{"id":16930,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase\/15309\/revisions\/16930"}],"wp:attachment":[{"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/media?parent=15309"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/www.wp-amazon-plugin.com\/de\/wp-json\/wp\/v2\/knowledgebase_cat?post=15309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}