{"id":630,"date":"2014-07-06T23:25:43","date_gmt":"2014-07-06T23:25:43","guid":{"rendered":"https:\/\/themes.simonbouchard.com\/theagency-v2\/?page_id=253"},"modified":"2014-07-06T23:25:43","modified_gmt":"2014-07-06T23:25:43","slug":"text-blocks","status":"publish","type":"page","link":"https:\/\/themes.simonbouchard.com\/studio8\/documentation\/built-in-short-codes\/text-blocks\/","title":{"rendered":"Text blocks"},"content":{"rendered":"<h2 class=\"hard-top\">Attributes<\/h2>\n<table>\n<thead>\n<th>Attribute<\/th>\n<th>Description<\/th>\n<th>Values<\/th>\n<th>Default<\/th>\n<\/thead>\n<tbody>\n<tr>\n<td>subtitle<\/td>\n<td>Define the sub-title of the block<\/td>\n<td>Text<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>subtitle_color<\/td>\n<td>Define the sub-title text color<\/td>\n<td>HEX or RGB value<\/td>\n<td>#8c8c8c<\/td>\n<\/tr>\n<tr>\n<td>sep_color<\/td>\n<td>Define the sub-title separator color<\/td>\n<td>HEX or RGB value<\/td>\n<td>#d7d7d7<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>title<\/td>\n<td>Define the title of the block<\/td>\n<td>Text<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr>\n<td>title_tag<\/td>\n<td>Define the title tag<\/td>\n<td>h1, h2, h3, h4, h5, h6<\/td>\n<td>h3<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>title_color<\/td>\n<td>Define the title color<\/td>\n<td>HEX or RGB value<\/td>\n<td>#000000<\/td>\n<\/tr>\n<tr>\n<td>text_color<\/td>\n<td>Define the text color<\/td>\n<td>HEX or RGB value<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>bg_color<\/td>\n<td>Define the background color<\/td>\n<td>HEX or RGB value<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr>\n<td>bg_image<\/td>\n<td>Define a custom background image<\/td>\n<td>URL<\/td>\n<td>N\/A<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>text_color<\/td>\n<td>Define the text color<\/td>\n<td>HEX or RGB value<\/td>\n<td>#666666<\/td>\n<\/tr>\n<tr>\n<td>text_align<\/td>\n<td>Define the text alignment<\/td>\n<td>left, right, justify<\/td>\n<td>left<\/td>\n<\/tr>\n<tr class=\"even\">\n<td>text_width<\/td>\n<td>Define the text maximum width<\/td>\n<td>pixels, pt, em, %<\/td>\n<td>60%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h6>Demo<\/h6>\n<div class=\"row cf\" style=\"background-color: #fff;background-size: auto;\"> \n<div class=\"shortcode_text_block\" style=\"background: #fff;width:60%;\"><p class=\"subtitle\" style=\"color: #8c8c8c;\">Text Block<\/p><div class=\"sep\" style=\"border-color: #d7d7d7;\"><\/div><h3 class=\"title\" style=\"color: #1c1c1e;\">Black on white<\/h3><p class=\"lead\" style=\"color:#9c9d9f;\">Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.<\/p><\/div>\n <\/div>\n<pre class=\"brush: plain;\">[text_block bg_color=\"#fff\" title_color=\"#1c1c1e\" text_color=\"#9c9d9f\" subtitle=\"Text Block\" title=\"Black on white\"]Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.[\/text_block]<\/pre>\n<div class=\"row cf\" style=\"background-size: auto;\"> \n<div class=\"shortcode_text_block\" style=\"background: #fff;width:60%;\"><h3 class=\"title\" style=\"color: #1c1c1e;\">Black on white<\/h3><p class=\"lead\" style=\"color:#9c9d9f;\">Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.<\/p><\/div>\n<pre class=\"brush: plain;\">[text_block bg_color=\"#fff\" title_color=\"#1c1c1e\" text_color=\"#9c9d9f\" title=\"Black on white\"]Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.[\/text_block]<\/pre>\n <\/div>\n<div class=\"row cf\" style=\"background-color: #000;background-size: auto;\"> \n<div class=\"shortcode_text_block\" style=\"background: #000;width:60%;\"><p class=\"subtitle\" style=\"color: #8c8c8c;\">Text Block<\/p><div class=\"sep\" style=\"border-color: #666;\"><\/div><h3 class=\"title\" style=\"color: #fff;\">White on black<\/h3><p class=\"lead\" style=\"color:#9c9d9f;\">Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.<\/p><\/div>\n <\/div>\n<pre class=\"brush: plain;\">[text_block bg_color=\"#000\" subtitle=\"Text Block\" sep_color=\"#666\" title=\"White on black\" title_color=\"#fff\" text_color=\"#9c9d9f\"]Fusce blandit adipiscing libero, nec bibendum diam volutpat tempor. Donec fermentum diam leo, ut convallis nisl tristique ut. Ut rhoncus leo vitae tempus pulvinar.[\/text_block]<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Attributes Attribute Description Values Default subtitle Define the sub-title of the block Text N\/A subtitle_color Define the sub-title text color HEX or RGB value #8c8c8c sep_color Define the sub-title separator color HEX or RGB value #d7d7d7 title Define the title of the block Text N\/A title_tag Define the title tag h1, h2, h3, h4, h5,&#8230;  <a class=\"excerpt-read-more\" href=\"https:\/\/themes.simonbouchard.com\/studio8\/documentation\/built-in-short-codes\/text-blocks\/\" title=\"Read Text blocks\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":619,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/630"}],"collection":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/comments?post=630"}],"version-history":[{"count":0,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/630\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/619"}],"wp:attachment":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/media?parent=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}