{"id":2722,"date":"2017-02-04T21:13:06","date_gmt":"2017-02-04T21:13:06","guid":{"rendered":"https:\/\/ampforwp.com\/?p=2722"},"modified":"2020-05-07T10:35:11","modified_gmt":"2020-05-07T10:35:11","slug":"universal-post-manager-amp-compatibility-snippet","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/universal-post-manager-amp-compatibility-snippet\/","title":{"rendered":"Universal Post Manager AMP Compatibility Snippet"},"content":{"rendered":"\n<p>If you are using&nbsp;Universal Post Manager plugin, then it is possible that you might be getting large buttons at the end of the post like this:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/ampforwp.com\/wp-content\/uploads\/2017\/02\/BBUcVZM.png\" alt=\"Universal post management\" class=\"wp-image-2723\"\/><\/figure><\/div>\n\n\n\n<h3>How to fix this?<\/h3>\n\n\n\n<p>Go to AMP settings, then navigate to Design tab and then paste this below CSS code in the&nbsp;Custom CSS text area field and then save it.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\"> div#upm-buttons amp-img {\n display: inline-block;\n max-width: 70px;\n }\n <\/pre><\/div>\n\n\n\n<p>This should make it better. I hope this snippet helps you.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>If you are using&nbsp;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&nbsp;Custom CSS text&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":[],"ht-kb-category":[5],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/2722"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2722"}],"version-history":[{"count":4,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/2722\/revisions"}],"predecessor-version":[{"id":17272,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/2722\/revisions\/17272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2722"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=2722"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=2722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}