Skip to content
Public Ticket #4994

Custom AMP styles problem

Conversation thread

Penci Design replied

Staff Reply

Hi,

Don't worry about this issue. 

I'm optimizing css of  Penci AMP plugin. We will release the update this week.

Please wating for us. 

Best Regards,

PenciDesign

Bill replied

Customer Reply

Could you help me with that? I couldn't find that page. My dev said that the custom AMP CSS he added was not very long. If you can remove some AMP CSS I don't need then that would be good. Rememeber, I'm using a child theme. Thanks.

Penci Design replied

Staff Reply

Hi,

I checked on your site. I saw  you add a lot of custom css. Currently,  style is too long. 

Please remove css with element that you don't use on amp.

You can remove css with penci-pennews-amp/templates/style.php file.

If you want, i will check and remove it help you.

Best Regards,

PenciDesign

Bill replied

Customer Reply

I have a question. After your fix, AMP is no longer working on the site. Google search console gives me this error "Author stylesheet specified in tag 'style amp-custom' exceeds limit of 50000 bytes". Any idea what I should do?

Bill replied

Customer Reply

Thanks for your help!

PenciDesign replied

Staff Reply

Hi,

I've fixed it help you. That's small issues with our code. We will add more this fixed in the next update version of PenNews. Don't worry.

Best Regards,

PenciDesign

PenciDesign replied

Staff Reply

Hi,

Maybe your custom css code is wrong. Please send me your admin url and admin account ( username and password  ) - I will take it a look on this help you.

Best Regards,

PenciDesign

Bill started the conversation

Conversation Start

I cannot save custom AMP styles because the symbol > is converted to > (unicode) for some reason when we click save in AMP custom CSS. I mean it's still fine in that editor, but in source code symbol is broken on front-end. How can I fix this?

Want to join this conversation or access attachments? Sign in first.