{"id":3285,"date":"2019-08-26T20:45:28","date_gmt":"2019-08-26T20:45:28","guid":{"rendered":"https:\/\/wptest.sdelling.w3.uvm.edu\/?page_id=3285"},"modified":"2020-09-26T10:04:59","modified_gmt":"2020-09-26T14:04:59","slug":"media-text-lockups","status":"publish","type":"page","link":"https:\/\/blog.uvm.edu\/manual\/media-text-lockups\/","title":{"rendered":"Media and text lockups"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p class=\"intro--left\">We have a two-column component consisting of media (image or video) in one column and text in the other. The background color is editable and you can &#8220;flip&#8221; the column content left-right with a click. <br \/><\/p>\n\n\n\n<p>These can be used individually or can be stacked. Alternating them image-text and text-image provides a nice content flow. They responsively scale for tablet and mobile but make sure you select the &#8220;stack on mobile&#8221; option in the right sidebar when you have the block selected. <br \/><br \/>and have background color variations- one subtle and the other more colorful. These work well to elevate and draw attention to key messaging or achievements. If you add a link, you can also use these as teasers to content found elsewhere on your website. <\/p>\n\n\n\n<p><strong>To implement this component on your page:<\/strong> While you are on the page you wish to edit, click on the little [+] icon at the top left of your page. Type &#8220;Media&#8221; in the Block search field to filter all blocks by &#8220;Media&#8221;. Select the &#8220;Media &amp; Text&#8221; block. You are now ready to update the image, the text caption and the background color. Just replace text and images as needed. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"296\" height=\"296\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/stack-on-mobile.png\" alt=\"\" class=\"wp-image-5028\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/stack-on-mobile.png 296w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/stack-on-mobile-150x150.png 150w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/figure>\n\n\n\n<p>Important! Make sure you select &#8220;stack on mobile&#8221; for your &#8220;Media &amp; Text&#8221; block for optimal mobile viewing.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/spacers-for-mobile-1024x451.png\" alt=\"\" class=\"wp-image-5032\" width=\"NaN\" height=\"NaN\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/spacers-for-mobile-1024x451.png 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/spacers-for-mobile-300x132.png 300w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/spacers-for-mobile-768x338.png 768w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/spacers-for-mobile.png 1037w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Make sure you proof your Media &amp; Text blocks on mobile. As the image and text columns stack, the text sometimes just needs extra space before or after for optimal viewing. A spacer block set to 32 px height is recommended.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:48px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Media &amp; Text block<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p><br \/><strong>Block Name:<\/strong> Media &amp; Text<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>This is the Media &amp; Text block with the image on the left. <\/p>\n\n\n\n<div style=\"height:48px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg\" alt=\"Katrinell Davis from UVM's Department of Sociology\" class=\"wp-image-2518\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">This is an H3 headline<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:48px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"211\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/flip_columns.png\" alt=\"\" class=\"wp-image-4773\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/flip_columns.png 722w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/flip_columns-300x88.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/figure>\n\n\n\n<div style=\"height:48px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg\" alt=\"Katrinell Davis from UVM's Department of Sociology\" class=\"wp-image-2518\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">This is an H3 headline<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>You can edit the background color in &#8220;Color Settings\/Background Color&#8221;. To change the background color, click on the block to activate it and then select the background color in the right sidebar of the Admin page under &#8220;Color Settings\/Background Color&#8221;. Keep in mind that we need to maintain at least a AA 4.51 WCAG contrast ration between the text and the background. The following examples meet that requirement. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>If you are stacking the &#8220;Media &amp; Text&#8221; block, we recommend a 160px spacer between each. Also, we recommend sticking to one color background on your site rather than lots of different colors or a checkerboard of color.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n<\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile has-silver-lighter-50-background-color has-background\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg\" alt=\"Katrinell Davis from UVM's Department of Sociology\" class=\"wp-image-2518\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">This is an H3 headline<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:160px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile has-primary-skyblue-lighter-10-background-color has-background\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg\" alt=\"Katrinell Davis from UVM's Department of Sociology\" class=\"wp-image-2518\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">This is an H3 headline<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:160px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile has-secondary-brightyellow-background-color has-background\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg\" alt=\"Katrinell Davis from UVM's Department of Sociology\" class=\"wp-image-2518\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20170127_Katrinell_Davis-69.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">This is an H3 headline<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:160px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>You can also you this block without the smaller body content. Here is an example of that.<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile has-secondary-brightyellow-background-color has-background\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47-1024x681.jpg\" alt=\"Organic chemistry labs at UVM\" class=\"wp-image-2528\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<\/h3>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have a two-column component consisting of media (image or video) in one column and text in the other. The background color is editable and you can &#8220;flip&#8221; the column content left-right with a click. These can be used individually or can be stacked. Alternating them image-text and text-image provides a nice content flow. They &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.uvm.edu\/manual\/media-text-lockups\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Media and text lockups&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5625,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3285","page","type-page","status-publish","hentry","entry"],"featured_image_src":null,"featured_image_src_square":null,"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"smasonla","author_link":"https:\/\/blog.uvm.edu\/manual\/author\/smasonla\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"We have a two-column component consisting of media (image or video) in one column and text in the other. The background color is editable and you can &#8220;flip&#8221; the column content left-right with a click. These can be used individually or can be stacked. Alternating them image-text and text-image provides a nice content flow. They&hellip;","_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/3285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/users\/5625"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/comments?post=3285"}],"version-history":[{"count":22,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/3285\/revisions"}],"predecessor-version":[{"id":5374,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/3285\/revisions\/5374"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/media?parent=3285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}