{"id":1784,"date":"2018-11-03T12:20:00","date_gmt":"2018-11-03T12:20:00","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1745"},"modified":"2020-09-26T10:11:10","modified_gmt":"2020-09-26T14:11:10","slug":"block-cover","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/manual\/2018\/11\/03\/block-cover\/","title":{"rendered":"Image Styles"},"content":{"rendered":"\n<p class=\"intro--left\">WordPress calls images that have text titles &#8220;cover blocks.&#8221;  Here are some pre-made styles that let you add images with text overlay. The background image can be fixed or parallax and you can change its opacity and add an overlay color.<\/p>\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\">Image with transparent overlay and optional title<\/h3>\n\n\n\n<p><br \/><br \/><strong>Reusable Block Name:<\/strong> Cover<br \/><br \/><br \/><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>These images have no overlay- the background overlay is set to 0% transparency.<\/p>\n\n\n\n<div class=\"wp-block-cover\" style=\"background-image:url(https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20160304_Mollie_Morgan_Dance-228.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-white-color has-text-color has-regular-font-size\">Center aligned text over a &#8220;cover&#8221; image<\/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 class=\"wp-block-cover\" style=\"background-image:url(https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20160304_Mollie_Morgan_Dance-228.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-left has-white-color has-text-color has-regular-font-size\">Left aligned text over a &#8220;cover&#8221; image<\/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 class=\"wp-block-cover\" style=\"background-image:url(https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20160304_Mollie_Morgan_Dance-228.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-right has-white-color has-text-color has-regular-font-size\">Right aligned text over a &#8220;cover&#8221; image<\/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:120px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Parallax images<\/h3>\n\n\n\n<div class=\"wp-block-cover has-background-dim-10 has-background-dim has-parallax\" style=\"background-image:url(https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20111108_Melosira_Sailing_Team-11.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-left has-white-color has-text-color has-regular-font-size\">Left aligned text over a &#8220;cover&#8221; image with parallax<\/p>\n<\/div><\/div>\n\n\n\n<p>Images can also have the parallax effect, like this one here. You can establish that in Settings for the &#8220;Cover&#8221; image block by clicking &#8220;fixed background&#8221;. The overlay tint is set to 10%.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Tints over images<\/h2>\n\n\n\n<p>Tint overlays can be used for both design purposes and to keep your type legible when placed over an image. WordPress allows you to add a tint overlay over images. The overlay can be any color and any transparency. We recommend keeping the color within brand and to always ensure that your text is readable.<\/p>\n\n\n\n<div class=\"wp-block-cover alignwide has-background-dim\" style=\"background-image:url(http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171017_Votey_Discovery_CEMS-23.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-white-color has-text-color has-regular-font-size\"><\/p><p class=\"has-white-color has-text-color has-regular-font-size\"><\/p><p class=\"has-white-color has-text-color has-regular-font-size\"><\/p><p class=\"has-white-color has-text-color has-regular-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p style=\"text-align:center\" class=\"has-text-color has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\">background image with 50% tinted overlay<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignwide has-background-dim-80 has-secondary-darkgreen-background-color has-background-dim\" style=\"background-image:url(http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171017_Votey_Discovery_CEMS-23.jpg);background-position:50% 50%\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-align-center has-white-color has-text-color has-large-font-size\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p class=\"has-text-color has-text-align-center has-large-font-size has-white-color\"><\/p><p style=\"text-align:center\" class=\"has-text-color has-large-font-size has-white-color\"><\/p>\n\n\n\n<p class=\"has-text-align-center has-white-color has-text-color has-regular-font-size\">background image with 80% tinted overlay of the &#8220;UVM green darker&#8221; color<\/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<h2 class=\"wp-block-heading\">Tinted image background with image-caption overlay<\/h2>\n\n\n\n<p>Reusable blocks can often be combined. Here we have a cover image in the background with a green tint overlay. We&#8217;ve placed a Media &amp; Text block on top.<\/p>\n\n\n\n<div style=\"background-color:#003A26;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-20 has-background-dim\" src=\"http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20100919_Jeffords_Hall_Biochemistry-11.jpg\" alt=\"Student in the biochemistry lab, Jeffords Hall\" \/><\/div><div class=\"ab-container-content\" style=\"max-width:850px\">\n<div class=\"wp-block-media-text has-media-on-the-right is-stacked-on-mobile has-background\" style=\"background-color:#f6f4f2\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20171114_Organic_Chem_Labs-47-1024x681.jpg\" alt=\"\" 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<h4 class=\"wp-block-heading\">This is a Media &amp; Text block on top of a cover image with a tint overlay<\/h4>\n<\/div><\/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<h2 class=\"wp-block-heading\">Image layered over the topographic pattern<\/h2>\n\n\n\n<p>Here we have placed a top pattern swatch combined with white as a background image. We only have the top pattern on part of the background so we&#8217;ve &#8216;faked&#8217; a partial offset background.<\/p>\n\n\n\n<div style=\"background-color:#ffffff;padding-left:9.5%;padding-right:10%;padding-top:5.5%;margin-top:4%;margin-bottom:13%\" class=\"wp-block-atomic-blocks-ab-container ab-layout-hero-1 ab-block-container alignfull\"><div class=\"ab-container-inside\"><div class=\"ab-container-image-wrap\"><img decoding=\"async\" class=\"ab-container-image has-background-dim-100 has-background-dim\" src=\"http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/bio_hero_bg_02.png\" alt=\"decorative\" \/><\/div><div class=\"ab-container-content\" style=\"max-width:787px\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_DSC5884-1024x683.jpg\" alt=\"A classroom at UVM\" class=\"wp-image-2530\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_DSC5884-1024x683.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_DSC5884-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_DSC5884-768x512.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_DSC5884.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n<\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Hero headers<\/h2>\n\n\n\n<p>You can set more text than just a headline over your cover images. You can also use the cover image with a call to action by adding a button. We&#8217;ve gone into a bit more detail on how to create these hero banners on <a href=\"https:\/\/blog.uvm.edu\/manual\/files\/2291-2\/\">this page<\/a>.<\/p>\n\n\n\n<div style=\"background-color:#0b0b0b;padding-left:5%;padding-right:30%;padding-bottom:30%;padding-top:8%\" 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=\"http:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20100919_Jeffords_Hall_Biochemistry-11.jpg\" alt=\"Student in the biochemistry lab, Jeffords Hall\" \/><\/div><div class=\"ab-container-content\" style=\"max-width:500px\">\n<h2 class=\"has-text-align-left white has-white-color has-text-color wp-block-heading\">This is a headline<\/h2>\n\n\n\n<p class=\"white has-white-color has-text-color\">This is a paragraphi it is flush left. It is placeholder text. It is white. You are not supposed to read it- it doesn&#8217;t really mean anything. Are yo ustill reading this? Why are you reading this?<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"background-color:#0b0b0b;padding-left:5%;padding-right:30%;padding-bottom:30%;padding-top:8%\" 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:500px\">\n<h2 class=\"white has-white-color has-text-color wp-block-heading\" id=\"white\">Lorem Ipsum research at UVM<\/h2>\n\n\n\n<p class=\"white has-white-color has-text-color\">This is a paragraphi it is flush left. It is placeholder text. It is white. You are not supposed to read it- it doesn&#8217;t really mean anything. Are yo ustill reading this? Why are you reading this?<\/p>\n\n\n\n<div class=\"wp-block-button alignleft is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link\">Research Projects<\/a><\/div>\n<\/div><\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:120px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress calls images that have text titles &#8220;cover blocks.&#8221; Here are some pre-made styles that let you add images with text overlay. The background image can be fixed or parallax and you can change its opacity and add an overlay color. Image with transparent overlay and optional title Reusable Block Name: Cover These images have &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.uvm.edu\/manual\/2018\/11\/03\/block-cover\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Image Styles&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5625,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[258709,2899,246029],"tags":[],"class_list":["post-1784","post","type-post","status-publish","format-standard","hentry","category-block","category-images","category-media-2","entry"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"smasonla","author_link":"https:\/\/blog.uvm.edu\/manual\/author\/smasonla\/"},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"smasonla","author_link":"https:\/\/blog.uvm.edu\/manual\/author\/smasonla\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/blog.uvm.edu\/manual\/category\/block\/\" rel=\"category tag\">Block<\/a> <a href=\"https:\/\/blog.uvm.edu\/manual\/category\/images\/\" rel=\"category tag\">Image Styles<\/a> <a href=\"https:\/\/blog.uvm.edu\/manual\/category\/media-2\/\" rel=\"category tag\">Media<\/a>","rttpg_excerpt":"WordPress calls images that have text titles &#8220;cover blocks.&#8221; Here are some pre-made styles that let you add images with text overlay. The background image can be fixed or parallax and you can change its opacity and add an overlay color. Image with transparent overlay and optional title Reusable Block Name: Cover These images have&hellip;","_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts\/1784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/types\/post"}],"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=1784"}],"version-history":[{"count":42,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts\/1784\/revisions"}],"predecessor-version":[{"id":5381,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts\/1784\/revisions\/5381"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/categories?post=1784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/tags?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}