{"id":17497,"date":"2020-06-25T12:51:16","date_gmt":"2020-06-25T12:51:16","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17497"},"modified":"2020-06-25T13:00:19","modified_gmt":"2020-06-25T13:00:19","slug":"how-to-set-gutenberg-button-color","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-set-gutenberg-button-color\/","title":{"rendered":"How to set Gutenberg button color"},"content":{"rendered":"\n<p>In this tutorial, we will show you how to set Gutenberg button color for this to follow the below steps<\/p>\n\n\n\n<p><strong>Step 1 \u2013&nbsp;<\/strong>Open a post in the block editor or add a new one<\/p>\n\n\n\n<p><strong>Step 2 \u2013<\/strong>\u00a0Click on the + button and pick the Buttons Block<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"775\" height=\"483\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1.png\" alt=\"\" class=\"wp-image-17498\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1.png 775w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1-300x187.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1-768x479.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1-50x31.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1-60x37.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/1-1-100x62.png 100w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><\/figure>\n\n\n\n<p> <strong>Step 3 &#8211;<\/strong> Create a button within your content and link to another URL <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"482\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-1024x482.png\" alt=\"\" class=\"wp-image-17500\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-1024x482.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-300x141.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-768x362.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4-100x47.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/4.png 1344w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The button colors are updated in the advanced settings panel (found in the right sidebar). You have two options:<\/p>\n\n\n\n<ul><li>Background color<\/li><li>Text color<\/li><\/ul>\n\n\n\n<p>In these options, you can set the button color<\/p>\n\n\n\n<p><strong>You&#8217;ve now successfully set the button to change the background color like below the screenshot<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"401\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-1024x401.png\" alt=\"\" class=\"wp-image-17501\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-1024x401.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-300x117.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-768x300.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-50x20.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-60x23.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5-100x39.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/5.png 1199w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/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>In this tutorial, we will show you how to set Gutenberg button color for this to follow the below steps Step 1 \u2013&nbsp;Open a post in the block editor or add a new one Step 2 \u2013\u00a0Click on the + button and pick the Buttons Block Step 3 &#8211; Create&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17497"}],"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\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=17497"}],"version-history":[{"count":2,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17497\/revisions"}],"predecessor-version":[{"id":17503,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17497\/revisions\/17503"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17497"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17497"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}