{"id":4996,"date":"2017-01-31T01:57:24","date_gmt":"2017-01-31T01:57:24","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=84"},"modified":"2017-01-31T01:57:24","modified_gmt":"2017-01-31T01:57:24","slug":"buttons","status":"publish","type":"page","link":"https:\/\/psdev2.com\/blog\/elements\/buttons","title":{"rendered":"Elements &#8211; Buttons"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text]<\/p>\n<h1><\/h1>\n<h1>Buttons<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Standard Buttons<\/h4>\n<p>The default button style for Stack using the\u00a0.btn\u00a0class. Customize the size of the buttons using\u00a0.btn&#8211;lg\u00a0and\u00a0.btn&#8211;sm.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;7\/12&#8243;][vc_column_text]<a class=\"btn btn--sm\" href=\"#\">.btn&#8211;sm<\/a> <a class=\"btn\" href=\"#\">.btn<\/a> <a class=\"btn btn--lg\" href=\"#\">.btn&#8211;lg<\/a>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Coloured Buttons<\/h4>\n<p>Use the classes <strong>.btn&#8211;primary<\/strong>, <strong>.btn&#8211;primary-1<\/strong> and <strong>.btn&#8211;primary-2<\/strong> to colour the buttons using the theme&#8217;s colour schemes.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;7\/12&#8243;][vc_column_text]<a class=\"btn btn--primary\" href=\"#\">.btn&#8211;primary<\/a> <a class=\"btn btn--primary-1\" href=\"#\">.btn&#8211;primary-1<\/a> <a class=\"btn btn--primary-2\" href=\"#\">.btn&#8211;primary-2<\/a>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Icon Buttons<\/h4>\n<p>Use the class <strong>.btn&#8211;icon<\/strong> on the button and place an &lt;i&gt; icon element inside the <strong>.btn__text<\/strong> element.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;7\/12&#8243;][vc_column_text]<a class=\"btn btn--primary btn--icon\" href=\"#\"><i class=\"icon-Add-File\"><\/i> New document<\/a> <a class=\"btn btn--icon btn--primary\" href=\"#\"><i class=\"icon-Checkout-Bag\"><\/i> Add To Bag<\/a>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Social Buttons<\/h4>\n<p>Use the classes <strong>.bg&#8211;facebook<\/strong>,<strong> .bg&#8211;twitter<\/strong> etc. to colour buttons with their corresponding brand colours.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;7\/12&#8243;][vc_column_text]<a class=\"btn btn--icon bg--facebook\" href=\"#\"><i class=\"socicon socicon-facebook\"><\/i>Join with Facebook<\/a> <a class=\"btn btn--icon bg--twitter\" href=\"#\"><i class=\"socicon socicon-twitter\"><\/i>Join with Twitter<\/a><\/p>\n<p><a class=\"btn btn--icon bg--googleplus\" href=\"#\"><i class=\"socicon socicon-google\"><\/i>Join with Google<\/a> <a class=\"btn btn--icon bg--pinterest\" href=\"#\"><i class=\"socicon socicon-pinterest\"><\/i>Join with Pinterest<\/a>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text] Buttons These modular elements can be readily used and customized across pages and in different blocks. Explore all of Stack&#8217;s modular elements at the\u00a0Element Index Page \u2192[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text] Standard Buttons The default button style for Stack using the\u00a0.btn\u00a0class. Customize the size of the buttons using\u00a0.btn&#8211;lg\u00a0and\u00a0.btn&#8211;sm.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;7\/12&#8243;][vc_column_text].btn&#8211;sm .btn [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/4996"}],"collection":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/comments?post=4996"}],"version-history":[{"count":0,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/4996\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/media?parent=4996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}