• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20514 - Amp page google console issues

After updating to the new theme we are getting issue in Google search console. The issues that we are getting are as follows
1. The text in the “style amp-custom” tag contains “css i-amphtml-name prefix”, which is not allowed
2. Your are not allowed to use the CSS qualifier! important

Attachments:

image_2021_01_20T12_34_56_418... (149.3 KiB)

Comments

Fred 20 Jan 2021, 17:39

Hi, jean Marie SAMEC.
Open the file /ROOT/modules/pkamp/views/css/product.css
Scroll down to the last line and remove “!important” there

Lynda 20 Jan 2021, 18:07

Hi, Jean-Marie,

I also have the error “An unauthorized attribut or attribut value is present in a HTML tag”. I opened this ticket : https://support.promokit.eu/?do=details&task_id=20506&project=3

jean Marie SAMEC 21 Jan 2021, 07:07

Hello Fred,

last line ! important has been remove.

Please check my google console issue. Please see the attach screen shot.

https://www.annedelona.com/

Attachments:

Screenshot 2021-01-21 at 11.3... (136.9 KiB)
Fred 21 Jan 2021, 10:00

Please check out your AMP Custom CSS code, see the screenshot - https://take.ms/Ji6DN

jean Marie SAMEC 21 Jan 2021, 12:11

Hello Team,

Now custom css has been removed. Still i’m facing issue. Please see the attach screen shot.

Attachments:

Screenshot 2021-01-21 at 4.39... (383.4 KiB)
Fred 21 Jan 2021, 13:27

Use official google service o validate your website.
See the link, it’s valid https://validator.ampproject.org/#url=https%3A%2F%2Fwww.annedelona.com%2Fmobile

jean Marie SAMEC 22 Jan 2021, 07:40

Hi Fred,

Cart quantity update field not visible in mobile. Please see the attach screen shot.

Attachments:

IMG_33AAC11634EB-1.jpeg (383.2 KiB)
Fred 22 Jan 2021, 15:10

The issue has been fixed. Please test to confirm the change https://take.ms/TAdat

jean Marie SAMEC 03 Feb 2021, 09:02

Hello Team,

Please check my google console issue. Please see the attach screen shot.

Fred 03 Feb 2021, 10:49

I have replied in another your ticket