{"id":2291,"date":"2019-08-14T17:59:54","date_gmt":"2019-08-14T17:59:54","guid":{"rendered":"https:\/\/wptest.sdelling.w3.uvm.edu\/?page_id=2291"},"modified":"2020-09-18T11:54:09","modified_gmt":"2020-09-18T15:54:09","slug":"2291-2","status":"publish","type":"page","link":"https:\/\/blog.uvm.edu\/manual\/2291-2\/","title":{"rendered":"Hero header banner"},"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:66.66%\">\n<p class=\"intro--left\">A hero banner provides a strong introduction to your content and with a button can provide a call to action.<\/p>\n\n\n\n<p>The following two hero banners were made using an AB Block \u201chero header\u201d and adding a Gutenberg button element. The overlay text and call to action button can be displayed either flush left or centered.<\/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:48px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"background-color:#0b0b0b;padding-left:5%;padding-right:5%;padding-bottom:15%;padding-top:15%\" class=\"wp-block-atomic-blocks-ab-container ab-layout-hero-1 ab-block-container\"><div class=\"ab-container-inside\"><div class=\"ab-container-image-wrap\"><img decoding=\"async\" class=\"ab-container-image has-background-dim\" object-fit=\"cover\"  src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109.jpg\" alt=\"UVM campus in the spring\" \/><\/div><div class=\"ab-container-content\" style=\"max-width:850px\">\n<h2 class=\"has-text-align-center ab-white-text wp-block-heading\">A UVM education is deep, broad and interconnected.<\/h2>\n\n\n\n<p class=\"has-text-align-center has-text-color\" style=\"color:#ffffff\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.<\/p>\n\n\n\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\">Call to action<\/a><\/div>\n<\/div><\/div><\/div>\n\n\n\n<div style=\"height:160px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"background-color:#0b0b0b;padding-left:5%;padding-right:5%;padding-bottom:15%;padding-top:15%\" class=\"wp-block-atomic-blocks-ab-container ab-layout-hero-1 ab-block-container\"><div class=\"ab-container-inside\"><div class=\"ab-container-image-wrap\"><img decoding=\"async\" class=\"ab-container-image has-background-dim\" object-fit=\"cover\"  src=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109.jpg\" alt=\"UVM campus in the spring\" \/><\/div><div class=\"ab-container-content\" style=\"max-width:850px\">\n<h2 class=\"has-text-align-left ab-white-text wp-block-heading\">A UVM education is deep, broad and interconnected.<\/h2>\n\n\n\n<p class=\"has-text-align-left has-text-color\" style=\"color:#ffffff\">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 eu fugiat nulla pariatur. <\/p>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\">Call to action<\/a><\/div>\n<\/div><\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to create a hero banner like the ones above<\/h3>\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=\"712\" height=\"394\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layouts.png\" alt=\"\" class=\"wp-image-4741\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layouts.png 712w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layouts-300x166.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">Navigate to &#8220;layouts&#8221;<\/h3>\n\n\n\n<p class=\"has-text-align-left has-regular-font-size\">While in edit mode, select &#8220;LAYOUTS&#8221; at the top of your page.<\/p>\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\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"673\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-heroHeader.png\" alt=\"AB block hero header\" class=\"wp-image-4744\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-heroHeader.png 879w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-heroHeader-300x230.png 300w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-heroHeader-768x588.png 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">Select the Hero Header block<\/h3>\n\n\n\n<p class=\"has-regular-font-size\">The &#8220;hero header&#8221; block has a large placeholder image with text and a blue button overlay.<\/p>\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 is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"412\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layout-fullWidth.png\" alt=\"\" class=\"wp-image-4742\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layout-fullWidth.png 891w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layout-fullWidth-300x139.png 300w, https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/AB-block-layout-fullWidth-768x355.png 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">Change the image setting for proper display<\/h3>\n\n\n\n<p class=\"has-regular-font-size\">The &#8220;hero header&#8221; block by default is set to be wider than our theme&#8217;s page width and the text will get cut off on the right in your browser. To fix this, select &#8220;full width&#8221; in your image options just above the block.<\/p>\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 is-image-fill\"><figure class=\"wp-block-media-text__media\" style=\"background-image:url(https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/button.png);background-position:50% 50%\"><img loading=\"lazy\" decoding=\"async\" width=\"205\" height=\"111\" src=\"https:\/\/blog.uvm.edu\/manual\/files\/2020\/04\/button.png\" alt=\"button\" class=\"wp-image-4750\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">Fix button display<\/h3>\n\n\n\n<p>The &#8220;hero header&#8221; block natively has a blue call to action button. Delete this button as the color is off-brand. Add a new &#8220;button&#8221; block below the text if you want a call to action (CTA). The native Gutenberg button style will be the UVM green <em>when displayed in your browser<\/em>.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A hero banner provides a strong introduction to your content and with a button can provide a call to action. The following two hero banners were made using an AB Block \u201chero header\u201d and adding a Gutenberg button element. The overlay text and call to action button can be displayed either flush left or centered. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.uvm.edu\/manual\/2291-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hero header banner&#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-2291","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":"A hero banner provides a strong introduction to your content and with a button can provide a call to action. The following two hero banners were made using an AB Block \u201chero header\u201d and adding a Gutenberg button element. The overlay text and call to action button can be displayed either flush left or centered.&hellip;","_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/2291","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=2291"}],"version-history":[{"count":31,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/2291\/revisions"}],"predecessor-version":[{"id":5314,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/pages\/2291\/revisions\/5314"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/media?parent=2291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}