{"id":1745,"date":"2018-11-03T12:20:00","date_gmt":"2018-11-03T12:20:00","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1745"},"modified":"2026-07-07T09:19:39","modified_gmt":"2026-07-07T08:19:39","slug":"block-cover","status":"publish","type":"post","link":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/block\/block-cover\/","title":{"rendered":"Block: Cover"},"content":{"rendered":"\n<div class=\"wp-block-cover alignleft\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1200\" class=\"wp-block-cover__image-background wp-image-761\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51.jpg 1600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-600x450.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-1080x810.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-360x270.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-768x576.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-300x225.jpg 300w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-1536x1152.jpg 1536w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-702x526.jpg 702w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-36x27.jpg 36w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-1024x768.jpg 1024w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-800x600.jpg 800w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc20050102_192118_51-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\">This is a left aligned cover block with a background image.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The cover block lets you add text on top of images or videos.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This blocktype has several alignment options, and you can also align or center the text inside the block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The background image can be fixed and you can change its opacity and add an overlay color.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure that the text wraps correctly over the image, and that text markup and alignments are working.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next image should have a pink overlay color, the text should be bold and aligned to the left:<\/p>\n\n\n\n<div class=\"wp-block-cover aligncenter is-light\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-pale-pink-background-color has-background-dim\"><\/span><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"480\" class=\"wp-block-cover__image-background wp-image-611\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2.jpg 640w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2-600x450.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2-360x270.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2-300x225.jpg 300w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/01\/canola2-36x27.jpg 36w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-left has-large-font-size wp-block-paragraph\"><strong>A center aligned cover image block, with a left aligned text.<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignfull has-parallax\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-20 has-background-dim\"><\/span><div role=\"img\" class=\"wp-block-cover__image-background wp-image-759 has-parallax\" style=\"background-position:50% 50%;background-image:url(https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc04563.jpg)\"><\/div><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\">This is a full width cover block with a fixed background image with a 20% opacity.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">Make sure that all the text is readable.<\/p>\n\n\n\n<div class=\"wp-block-cover alignwide\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"960\" class=\"wp-block-cover__image-background wp-image-758\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149.jpg 1280w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-600x450.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-1080x810.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-360x270.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-768x576.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-300x225.jpg 300w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-702x526.jpg 702w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-36x27.jpg 36w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-1024x768.jpg 1024w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-800x600.jpg 800w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2011\/07\/dsc03149-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\">Our last cover image block has a wide width.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignwide is-light\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><video class=\"wp-block-cover__video-background intrinsic-ignore\" autoplay muted loop playsinline src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\" data-object-fit=\"cover\"><\/video><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\">This is a wide cover block with a video background.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover aligncenter is-light\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><video class=\"wp-block-cover__video-background intrinsic-ignore\" autoplay muted loop playsinline src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\" data-object-fit=\"cover\"><\/video><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\">Compare the video and image blocks.<br>This block is centered.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The block below has no alignment, and the text is a link. Overlay colors must also work with video backgrounds.<\/p>\n\n\n\n<div class=\"wp-block-cover\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-60 has-background-dim\" style=\"background-color:#f4399d\"><\/span><video class=\"wp-block-cover__video-background intrinsic-ignore\" autoplay muted loop playsinline src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\" data-object-fit=\"cover\"><\/video><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/gutenberg\/\">This page needed more pink<\/a>. <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The cover block lets you add text on top of images or videos. This blocktype has several alignment options, and you can also align or center the text inside the block. The background image can be fixed and you can&nbsp;\u2026 <\/p>\n","protected":false},"author":4,"featured_media":9320,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[211,9],"tags":[],"class_list":["post-1745","post","type-post","status-publish","format-standard","has-post-thumbnail","category-all","category-block","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/posts\/1745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/comments?post=1745"}],"version-history":[{"count":2,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/posts\/1745\/revisions"}],"predecessor-version":[{"id":14057,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/posts\/1745\/revisions\/14057"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media\/9320"}],"wp:attachment":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media?parent=1745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/categories?post=1745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/tags?post=1745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}