{"id":1784,"date":"2018-11-03T12:25:00","date_gmt":"2018-11-03T12:25:00","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1745"},"modified":"2018-11-03T12:25:00","modified_gmt":"2018-11-03T12:25:00","slug":"block-cover","status":"publish","type":"post","link":"https:\/\/azuinfulfill.com\/block-cover\/","title":{"rendered":"Block: Cover"},"content":{"rendered":"\n    \n<div class=\"wp-block-cover has-background-dim alignleft is-layout-flow wp-block-cover-is-layout-flow\" style=\"background-image:url(https:\/\/azuinfulfill.com\/wp-content\/uploads\/2008\/06\/dsc20050102_192118_51.jpg)\"><p class=\"wp-block-cover-text\">This is a left aligned cover block with a background image.<\/p><\/div>\n\n\n\n<p>The cover block lets you add text on top of images or videos.<\/p>\n\n\n\n<p>This blocktype has several alignment options, and you can also align or center the text inside the block.<\/p>\n\n\n\n<p>The background image can be fixed and you can change its opacity and add an overlay color.<\/p>\n\n\n\n<p>Make sure that the text wraps correctly over the image, and that text markup and alignments are working.<\/p>\n\n\n\n<p>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 has-pale-pink-background-color has-background-dim has-left-content aligncenter is-layout-flow wp-block-cover-is-layout-flow\" style=\"background-image:url(https:\/\/azuinfulfill.com\/wp-content\/uploads\/2008\/06\/canola2.jpg)\"><p class=\"wp-block-cover-text\"><strong>A center aligned cover image block, with a left aligned text.<\/strong><\/p><\/div>\n\n\n\n<div class=\"wp-block-cover has-background-dim-20 has-background-dim has-parallax alignfull is-layout-flow wp-block-cover-is-layout-flow\" style=\"background-image:url(https:\/\/azuinfulfill.com\/wp-content\/uploads\/2008\/06\/dsc04563.jpg)\"><p class=\"wp-block-cover-text\">This is a full width cover block with a fixed background image with a 20% opacity.<\/p><\/div>\n\n\n\n<p style=\"text-align:center\">Make sure that all the text is readable.<\/p>\n\n\n\n<div class=\"wp-block-cover has-background-dim alignwide is-layout-flow wp-block-cover-is-layout-flow\" style=\"background-image:url(https:\/\/azuinfulfill.com\/wp-content\/uploads\/2008\/06\/dsc03149.jpg)\"><p class=\"wp-block-cover-text\">Our last cover image block has a wide width.<\/p><\/div>\n\n\n\n<div class=\"wp-block-cover has-background-dim alignwide is-layout-flow wp-block-cover-is-layout-flow\"><video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"https:\/\/azuinfulfill.com\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\"><\/video><p class=\"wp-block-cover-text\">This is a wide cover block with a video background.<\/p><\/div>\n\n\n\n<div class=\"wp-block-cover has-background-dim aligncenter is-layout-flow wp-block-cover-is-layout-flow\"><video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"https:\/\/azuinfulfill.com\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\"><\/video><p class=\"wp-block-cover-text\">Compare the video and image blocks.<br>This block is centered.<\/p><\/div>\n\n\n\n<p>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 has-background-dim-60 has-background-dim is-layout-flow wp-block-cover-is-layout-flow\" style=\"background-color:#f4399d\"><video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"https:\/\/azuinfulfill.com\/wp-content\/uploads\/2013\/12\/2014-slider-mobile-behavior.mov\"><\/video><p class=\"wp-block-cover-text\"><a href=\"https:\/\/wordpress.org\/gutenberg\/\">This page needed more pink<\/a>. <\/p><\/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 change its opacity and add an overlay color. Make sure that the text wraps correctly<a href=\"https:\/\/azuinfulfill.com\/block-cover\/\">Continue reading <span class=\"sr-only\">&#8220;Block: Cover&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[8],"tags":[110],"class_list":["post-1784","post","type-post","status-publish","format-standard","hentry","category-block","tag-image"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/azuinfulfill.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"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 change its opacity and add an overlay color. Make sure that the text wraps correctlyContinue&hellip;","_links":{"self":[{"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/posts\/1784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/comments?post=1784"}],"version-history":[{"count":0,"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/posts\/1784\/revisions"}],"wp:attachment":[{"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/categories?post=1784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azuinfulfill.com\/aapi\/wp\/v2\/tags?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}