If you receive a message like this from Google AMP Validator …
“The author stylesheet specified in tag ‘style amp-custom’ is too long – document contains 50154 bytes whereas the limit is 50000 bytes.”
… then 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 “Style and layout errors” of the AMP project.
Reduce the size of the custom stylesheet used on this page to be under 50 Kilobytes.
ASA2 can’t do that automatically. The more different templates you use on one page, the more CSS has to be loaded. Reduce the number of different ASA2 templates on one page to not exceed the 50 kilobyte maximum.
- Black Friday Sale 2023 – 33% discount code for ASA2! - November 22, 2023
- ASA2 update 1.19.0 brings improvements for the Product Picker - November 21, 2023
- ASA2 update 1.18.0 brings support for merchant information - October 21, 2023