Categories: Extending

Universal Post Manager AMP Compatibility Snippet

If you are using Universal Post Manager plugin, then it is possible that you might be getting large buttons at the end of the post like this:

How to fix this?

Go to AMP settings, then navigate to Design tab and then paste this below CSS code in the Custom CSS text area field and then save it.


div#upm-buttons amp-img {
display: inline-block;
max-width: 70px;
}

This should make it better. I hope this snippet helps you.

Ahmed Kaludi

I'm one of the Lead developers on this project. Know more about me at http://ahmedkaludi.com

Share
Published by
Ahmed Kaludi