- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 27.01.25, 16:27
- Opened by: Walter Tamburini
Ticket #25938 - AMP issue
Good morning Fred,
I have an issue about AMP pages on Google Search console.
I don’t understand the error:
“CSS syntax error in tag ‘style amp-custom’.
AMP pages with this issue are invalid. Invalid AMP pages aren’t served on Google”
In the attachment the image.
Could you please help me?
Thank you
Best Regards
Comments
Hi, Walter.
Do you have it disabled? because I don't see AMP version of your store
Good morning Fred,
I set the configuration below (In the attachment the image "config.jpg").
If I use this configuration, on a smartphone the e-commerce doesn't work in the categories (In the attachment the image "error.jpg").
Maybe, we should solve this problem first.
Thank you
Best Regards
Attachments:
Ok, the second issue is fixed. How t see the first one?
Good morning Fred,
the AMP version seems to work, thank you very much.
There are still problems with Google, you can check the attachments.
1 - AMP HTML Tag has an invalid layout specified by its attributes.
2/3 - CSS syntax error in tag 'style amp-custom' has an incomplete and invalid declaration (6 instances about tag 'style amp-custom').
Best Regards
Attachments:
I fixed css file. and remove empty carousel. Try to re-scan your amp site
Good morning Fred,
I have the same problems.
Thank you
Best Regards
Attachments:
I see "See Details" button there. Could you please check what's there, because it's not clear where exactly that invalid code is
Good morning Fred,
in the attachment the screenshots.
Thank you
Best Regards
Attachments:
OK, I have fixed css errors, try to revalidate those pages