{"id":10403,"date":"2024-01-31T11:26:15","date_gmt":"2024-01-31T16:26:15","guid":{"rendered":"https:\/\/www.eng.ufl.edu\/marcom-dev\/?post_type=mercury-block&amp;p=10403"},"modified":"2024-01-31T11:26:15","modified_gmt":"2024-01-31T16:26:15","slug":"hero","status":"publish","type":"mercury-block","link":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/","title":{"rendered":"Hero"},"content":{"rendered":"\n<p><a href=\"https:\/\/webservices.it.ufl.edu\/mercury-theme\/items\/hero.html\" target=\"_blank\" rel=\"noreferrer noopener\">When to use and example of Hero block<\/a><\/p>\n\n\n\n<p>In the Block Editor, insert a Hero Block. Expand the inspector panel to upload an image and toggle the Hero Split (half-width image) option, if desired, or upload a full-width movie. Add intro, title, description, and button text and a link destination.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1345\" height=\"897\" src=\"https:\/\/www.eng.ufl.edu\/marcom-dev\/wp-content\/uploads\/sites\/253\/2024\/01\/howto-hero.gif\" alt=\"How to insert a Hero block in Mercury\" class=\"wp-image-10643\"\/><\/figure>\n<\/div>\n\n\n<p>To add an accessible text caption for a hero image, add a paragraph directly below with the class hero-caption. The styling will show up on the front end.<\/p>\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\"><div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0692af684b5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0692af684b5\" class=\"alignleft size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1345\" height=\"901\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.eng.ufl.edu\/marcom-dev\/wp-content\/uploads\/sites\/253\/2024\/01\/howto-herocaption.gif\" alt=\"How to insert a hero caption\" class=\"wp-image-10641\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">How to insert an accessible caption for a hero block<\/figcaption><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0692af68fc6&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0692af68fc6\" class=\"alignright size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"478\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.eng.ufl.edu\/marcom-dev\/wp-content\/uploads\/sites\/253\/2024\/01\/captiontext-1024x478.jpg\" alt=\"Hero Caption text on the front end\" class=\"wp-image-10639\" srcset=\"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/captiontext-1024x478.jpg 1024w, https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/captiontext-300x140.jpg 300w, https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/captiontext-768x359.jpg 768w, https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/captiontext.jpg 1341w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Front end view of hero caption<\/figcaption><\/figure>\n<\/div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Insert a banner image, either half or full width, with title and description text and a link button.<\/p>\n","protected":false},"featured_media":10633,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"featured_post":"","_links_to":"","_links_to_target":""},"block-categories":[15,19,21],"class_list":["post-10403","mercury-block","type-mercury-block","status-publish","has-post-thumbnail","hentry","block-categories-featured-content","block-categories-hero-sections","block-categories-images"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hero - Marketing &amp; Communications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hero - Marketing &amp; Communications\" \/>\n<meta property=\"og:description\" content=\"Insert a banner image, either half or full width, with title and description text and a link button.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/\" \/>\n<meta property=\"og:site_name\" content=\"Marketing &amp; Communications\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/hero.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2364\" \/>\n\t<meta property=\"og:image:height\" content=\"646\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/\",\"url\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/\",\"name\":\"Hero - Marketing &amp; Communications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/wp-content\\\/uploads\\\/sites\\\/253\\\/2024\\\/01\\\/hero.png\",\"datePublished\":\"2024-01-31T16:26:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/wp-content\\\/uploads\\\/sites\\\/253\\\/2024\\\/01\\\/hero.png\",\"contentUrl\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/wp-content\\\/uploads\\\/sites\\\/253\\\/2024\\\/01\\\/hero.png\",\"width\":2364,\"height\":646},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/mercury-block\\\/hero\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mercury Blocks How-tos\",\"item\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/resources\\\/web-services-standards\\\/wordpress-help-and-how-to\\\/hwcoe-mercury-theme\\\/mercury-blocks\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hero\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/#website\",\"url\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/\",\"name\":\"Marketing &amp; Communications\",\"description\":\"Herbert Wertheim College of Engineering\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.eng.ufl.edu\\\/marcom\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hero - Marketing &amp; Communications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/","og_locale":"en_US","og_type":"article","og_title":"Hero - Marketing &amp; Communications","og_description":"Insert a banner image, either half or full width, with title and description text and a link button.","og_url":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/","og_site_name":"Marketing &amp; Communications","og_image":[{"width":2364,"height":646,"url":"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/hero.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/","url":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/","name":"Hero - Marketing &amp; Communications","isPartOf":{"@id":"https:\/\/www.eng.ufl.edu\/marcom\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/#primaryimage"},"image":{"@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/#primaryimage"},"thumbnailUrl":"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/hero.png","datePublished":"2024-01-31T16:26:15+00:00","breadcrumb":{"@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/#primaryimage","url":"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/hero.png","contentUrl":"https:\/\/www.eng.ufl.edu\/marcom\/wp-content\/uploads\/sites\/253\/2024\/01\/hero.png","width":2364,"height":646},{"@type":"BreadcrumbList","@id":"https:\/\/www.eng.ufl.edu\/marcom\/mercury-block\/hero\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.eng.ufl.edu\/marcom\/"},{"@type":"ListItem","position":2,"name":"Mercury Blocks How-tos","item":"https:\/\/www.eng.ufl.edu\/marcom\/resources\/web-services-standards\/wordpress-help-and-how-to\/hwcoe-mercury-theme\/mercury-blocks\/"},{"@type":"ListItem","position":3,"name":"Hero"}]},{"@type":"WebSite","@id":"https:\/\/www.eng.ufl.edu\/marcom\/#website","url":"https:\/\/www.eng.ufl.edu\/marcom\/","name":"Marketing &amp; Communications","description":"Herbert Wertheim College of Engineering","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.eng.ufl.edu\/marcom\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/mercury-block\/10403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/mercury-block"}],"about":[{"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/types\/mercury-block"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/media\/10633"}],"wp:attachment":[{"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/media?parent=10403"}],"wp:term":[{"taxonomy":"block-categories","embeddable":true,"href":"https:\/\/www.eng.ufl.edu\/marcom\/wp-json\/wp\/v2\/block-categories?post=10403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}