  {"id":337,"date":"2018-06-08T16:58:01","date_gmt":"2018-06-08T16:58:01","guid":{"rendered":"http:\/\/bfuller.local\/wordpress\/styleguide\/?page_id=337"},"modified":"2026-04-01T14:03:56","modified_gmt":"2026-04-01T14:03:56","slug":"heroes","status":"publish","type":"page","link":"https:\/\/www.uri.edu\/wordpress\/components\/heroes\/","title":{"rendered":"Heroes"},"content":{"rendered":"\n<p class=\"type-intro\">Use heroes to engage with the visitor and create the sense of desire. Hero images and videos should be aspirational. Your visitor should want to be the subject of the hero \u2014 or visit it, possess it, experience it, etc. Heroes are frequently used as introductions on prominent landing pages like a college&#8217;s front page, but can also be used to introduce sections in longer pages.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>Here&#8217;s an example hero:<\/p>\n\n\n<section class=\"cl-wrapper cl-hero-wrapper\"><div class=\"cl-hero   cl-has-accessibility-controls\"><div class=\"cl-hero-proper\"><div class=\"overlay\"><div class=\"block\"><h1>A small, beautiful place<\/h1><p>Big thinking starts here<\/p><a class=\"cl-button\" href=\"#\" title=\"\">Begin<\/a><\/div><\/div><div id=\"aa9ebec9-2c29-ddd8-fa63-49036ddd573a\" data-video=\"https:\/\/vimeo.com\/377092097\/13e9ce1d78\" data-platform=\"vimeo\" class=\"poster\" style=\"background-image:url(https:\/\/i.vimeocdn.com\/video\/836406578-7d3f26ecd2c9e6771881276154b34a5ba6a0ab33d4df09df7f3d0ed143f75aa0-d);\"><\/div><div class=\"cl-accessibility-controls-container\"><div class=\"cl-accessibility-controls\"><div class=\"cl-accessibility-icon\" title=\"Accessibility controls\">Accessibility controls<\/div><div class=\"cl-accessibility-control cl-accessibility-motion-control\"><div class=\"cl-accessibility-control-default\"><div class=\"cl-accessibility-control-button\" title=\"Pause motion\">Pause motion<\/div><div class=\"cl-accessibility-control-label\">Motion: <span class=\"cl-accessibility-syntax\">On<\/span><\/div><\/div><div class=\"cl-accessibility-control-alternate\"><div class=\"cl-accessibility-control-button\" title=\"Play motion\">Play motion<\/div><div class=\"cl-accessibility-control-label\">Motion: <span class=\"cl-accessibility-syntax\">Off<\/span><\/div><\/div><\/div><div class=\"cl-accessibility-control cl-accessibility-contrast-control\"><div class=\"cl-accessibility-control-default\"><div class=\"cl-accessibility-control-button\" title=\"Increase text contrast\">Increase text contrast<\/div><div class=\"cl-accessibility-control-label\">Contrast: <span class=\"cl-accessibility-syntax\">Standard<\/span><\/div><\/div><div class=\"cl-accessibility-control-alternate\"><div class=\"cl-accessibility-control-button\" title=\"Reset text contrast\">Reset text contrast<\/div><div class=\"cl-accessibility-control-label\">Contrast: <span class=\"cl-accessibility-syntax\">High<\/span><\/div><\/div><\/div><div class=\"cl-accessibility-system-setting\"><div class=\"cl-accessibility-toggle\" title=\"Apply my preferences site-wide\"><\/div><div class=\"cl-accessibility-toggle-label\">Apply site-wide<\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n\n\n<p>A hero must contain either an image or a video (looping videos work best). Videos need to be on YouTube or Vimeo in order to work. Heroes can also contain any combination of a title, a subtitle (or body text), and a button, but do not require any of these elements to function. The most effective heroes, however, generally include at least a title to provide viewers context and, where applicable, a button to drive action. For accessibility and responsiveness reasons, the hero image or video should not contain any text of its own.<\/p>\n\n\n\n<p>Heroes can also display a caption and credit underneath them. This can be useful for providing additional context and attributing media to its creator. For captioning images, heroes can use the value of the caption field in the WordPress media library, if desired.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding a Hero<\/h2>\n\n\n\n<p>Heroes (<img decoding=\"async\" class=\"wysiwyg-icon\" src=\"https:\/\/www.uri.edu\/wordpress\/wp-content\/uploads\/home\/sites\/7\/hero.png\" alt=\"Hero block editor icon\">) can be added from the block library, under the Component Library section. Hero content can be edited directly, and options can be set in the sidebar.<\/p>\n\n\n<div style=\"position: relative; width: 100%; height: 0; padding-bottom: 56.25%\">\n\t<iframe src=\"https:\/\/uri.hosted.panopto.com\/Panopto\/Pages\/Embed.aspx?id=667f1757-ae86-437a-8fdd-b38d016268af&#038;autoplay=false&#038;offerviewer=false&#038;showtitle=true&#038;showbrand=false&#038;captions=false&#038;interactivity=all\" style=\"border: 1px solid #464646; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box;\" allowfullscreen allow=\"autoplay\" title=\"How to Add a Hero - WordPress Tutorial\"><\/iframe>\n<\/div>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Add a Hero<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Go to Your Dashboard<\/strong><br>Log in to your WordPress dashboard.<br><\/li>\n\n\n\n<li><strong>Open Your Page<\/strong><br>From the left-hand menu, click <strong>Pages<\/strong>.<br>Hover over the page where you\u2019d like to add a hero, then click Edit.<br><\/li>\n\n\n\n<li><strong>Add the Hero Component<\/strong><br>There are two ways to add a Hero:<br>\n<ul class=\"wp-block-list\">\n<li><strong>Option 1<\/strong>: Click the blue + button in the top left corner of the page editor.\n<ul class=\"wp-block-list\">\n<li>In the search bar, type \u201c<strong>Hero<\/strong>\u201d or locate it under the <strong>Component Library<\/strong> section.<\/li>\n\n\n\n<li>Click <strong>Hero<\/strong> to insert it at the top of your page (or wherever you\u2019d like it to appear).<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Option 2<\/strong>: Click into the page and type a forward slash (\/) on your keyboard.\n<ul class=\"wp-block-list\">\n<li>A dropdown menu will appear with available blocks and design components.<\/li>\n\n\n\n<li>Type \u201c<strong>Hero<\/strong>\u201d and select it from the list to quickly insert the component.<br><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add a Hero Image or Video<\/strong><br>Within the Hero block:\n<ul class=\"wp-block-list\">\n<li>Click <strong>Add Image<\/strong> to upload a new photo, select one from the <strong>Media Library<\/strong>, or insert a <strong>URL<\/strong> to use an existing online image.<\/li>\n\n\n\n<li>If you\u2019d like to use a video background instead, paste your video link (e.g., YouTube or Vimeo) into the Media URL field.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Adjust Your Hero Settings<\/strong>\n<ul class=\"wp-block-list\">\n<li>Click the <strong>Hero<\/strong> component, then select the <strong>Settings<\/strong> (gear) icon in the top right corner.<\/li>\n\n\n\n<li>Click the <strong>Block<\/strong> tab.<\/li>\n\n\n\n<li>Under Format, adjust the sizing to your preferred layout: <strong>Default<\/strong>, <strong>Full Width<\/strong>, or <strong>Super<\/strong>.<\/li>\n\n\n\n<li>Modify the<strong> Image Focus<\/strong> area to ensure the most important part of your visual remains visible across all screen sizes.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add Your Hero Content<\/strong>\n<ul class=\"wp-block-list\">\n<li>Update the <strong>Title<\/strong> and <strong>Subtitle<\/strong> text directly within the Hero.<\/li>\n\n\n\n<li>Use clear, engaging language that introduces your department, program, or page focus.<\/li>\n\n\n\n<li>You can also add a <strong>Button<\/strong> block inside the Hero to direct users to another page or resource.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Optional Adjustments<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Video Link<\/strong>: Replace the image with a background video by adding a video URL.<\/li>\n\n\n\n<li><strong>Alternative Text<\/strong>: Add a short description in the <em>Alternative Text<\/em> box to support accessibility for users relying on screen readers.<\/li>\n\n\n\n<li><strong>Aspect Ratio<\/strong>: Defaults to <em>Original<\/em>, maintaining natural proportions.<\/li>\n\n\n\n<li><strong>Width and Height<\/strong>: Leave blank unless you need custom sizing.<\/li>\n\n\n\n<li><strong>Resolution<\/strong>: Defaults to <em>Large<\/em> for clear, high-quality visuals.<\/li>\n\n\n\n<li><strong>Caption<\/strong>: Add a caption for context or storytelling.<\/li>\n\n\n\n<li><strong>Media Credit<\/strong>: Include credit when using licensed or external media.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save Your Changes<\/strong><br>When you\u2019re finished, click the Save button in the top right corner of the screen.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Use heroes to engage with the visitor and create the sense of desire. Hero images and videos should be aspirational. Your visitor should want to be the subject of the hero \u2014 or visit it, possess it, experience it, etc. Heroes are frequently used as introductions on prominent landing pages like a college&#8217;s front page, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":188,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-337","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/pages\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":37,"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/pages\/337\/revisions"}],"predecessor-version":[{"id":2943,"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/pages\/337\/revisions\/2943"}],"up":[{"embeddable":true,"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/pages\/188"}],"wp:attachment":[{"href":"https:\/\/www.uri.edu\/wordpress\/wp-json\/wp\/v2\/media?parent=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}