{"id":189,"date":"2020-05-10T11:40:09","date_gmt":"2020-05-10T11:40:09","guid":{"rendered":"http:\/\/redhost:8888\/documentation\/?page_id=189"},"modified":"2023-01-28T07:29:59","modified_gmt":"2023-01-28T07:29:59","slug":"hero-block","status":"publish","type":"page","link":"https:\/\/docs.redsun.design\/soulkitchen\/hero-block\/","title":{"rendered":"Hero Image\/Video Block"},"content":{"rendered":"\n<p style=\"font-size:22px\">Display a background image or background video with overlay text.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2023\/01\/hero-1024x578.jpg\" alt=\"\" class=\"wp-image-4791\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2023\/01\/hero-1024x578.jpg 1024w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2023\/01\/hero-300x169.jpg 300w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2023\/01\/hero-768x433.jpg 768w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2023\/01\/hero.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">How to use<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the top left corner, click + to&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/support\/article\/adding-a-new-block\/\" target=\"_blank\">add a new block<\/a>.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/add.jpg\" alt=\"\" class=\"wp-image-4355\" width=\"306\" height=\"59\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/add.jpg 612w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/add-300x58.jpg 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/figure><\/div>\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Select the&nbsp;<strong>SoulKitchen Hero Image or Video <\/strong>block.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/Screenshot-2022-12-18-at-15.36.54.png\" alt=\"\" class=\"wp-image-4397\" width=\"115\" height=\"97\"\/><\/figure><\/div>\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>In the <a href=\"https:\/\/wordpress.org\/support\/article\/working-with-blocks\/#block-toolbar\" target=\"_blank\" rel=\"noreferrer noopener\">block toolbar<\/a>, you can change the block alignment to Full Width<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/fullwidth.jpg\" alt=\"\" class=\"wp-image-4517\" width=\"342\" height=\"189\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/fullwidth.jpg 684w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/fullwidth-300x166.jpg 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/figure><\/div>\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>In the right sidebar, find all the settings for the block<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image part\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/heroblock-477x1024.jpg\" alt=\"\" class=\"wp-image-4535\" width=\"239\" height=\"512\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/heroblock-477x1024.jpg 477w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/heroblock-140x300.jpg 140w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/heroblock.jpg 554w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/figure><\/div>\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>If you wish to display this block all the way on the top of the page, you can remove the page title and page padding top value. In the right sidebar, click <strong>Page \u2192&nbsp; Page Settings<\/strong> and check the <strong>Hide Page Title<\/strong> and <strong>Remove Page Padding Top<\/strong> checkbox.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image part\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/hidetitle.jpg\" alt=\"\" class=\"wp-image-4547\" width=\"279\" height=\"507\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/hidetitle.jpg 558w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/hidetitle-165x300.jpg 165w\" sizes=\"auto, (max-width: 279px) 100vw, 279px\" \/><\/figure><\/div>\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">The Settings<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Background Type<\/strong><br>Select if you want to display an Background Image or Background Video<\/li>\n\n\n\n<li><strong>Background Image \/ Background Video<\/strong><br>Depending on your Background Type choice, you can here upload\/select your Background Image or Background Video<\/li>\n\n\n\n<li><strong>Add Overlay Color<\/strong><br>Add a transparent Overlay color to make text more readable. <\/li>\n\n\n\n<li><strong>Overlay Color<\/strong><br>Move the slider on the right to set the transparency.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image part\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/Screenshot-2020-07-31-at-13.24.04.png\" alt=\"\" class=\"wp-image-4537\" width=\"258\" height=\"325\" title=\"\" srcset=\"https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/Screenshot-2020-07-31-at-13.24.04.png 516w, https:\/\/docs.redsun.design\/soulkitchen\/wp-content\/uploads\/sites\/3\/2022\/12\/Screenshot-2020-07-31-at-13.24.04-238x300.png 238w\" sizes=\"auto, (max-width: 258px) 100vw, 258px\" \/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Overlay Color Width<\/strong><br>Select overlay color widh (50% \/ 100% )<\/li>\n\n\n\n<li><strong>Content Color<\/strong><br>Select content color (default \/ all white \/ white + color \/ all black)<\/li>\n\n\n\n<li><strong>Content Position<\/strong><br>Select content position (left \/ center \/ right )<\/li>\n\n\n\n<li><strong>Vertical Text<\/strong><br>Add some text to display vertically on the side<\/li>\n\n\n\n<li><strong>Subtitle<\/strong><br>Add a subtitle<\/li>\n\n\n\n<li><strong>Title<\/strong><br>Add a title<\/li>\n\n\n\n<li><strong>Use Title as Page Title (H1)<\/strong><br>If you are displaying a Hero block instead of the page title, you can set the title to H1 here.<\/li>\n\n\n\n<li><strong>Divider<\/strong><br>Check if you wish to display a divider<\/li>\n\n\n\n<li><strong>Content<\/strong><br>Add content<\/li>\n\n\n\n<li><strong>Button Text<\/strong><br>Add some text if you wish to display a button<\/li>\n\n\n\n<li><strong>Button URL<\/strong><br>Enter button URL<\/li>\n\n\n\n<li><strong>Button Style<\/strong><br>Select button style (Regular Button \/ Outline Button)<\/li>\n<\/ul>\n\n\n\n<p><strong>RESPONSIVE SETTING<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Image on Mobile Devices<\/strong><br>In order to replace your image or video on small screens with an image, upload it here. <\/li>\n\n\n\n<li><strong>Content Position on Small Screens<\/strong><br>(leave as is \/ left \/ center)<\/li>\n\n\n\n<li><strong>Content Position Vertical on Small Screens<\/strong><br>(top \/ middle \/ bottom)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Display a background image or background video with overlay text. How to use In the top left corner, click + to&nbsp;add a new block. Select the&nbsp;SoulKitchen Hero Image or Video ...","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":26,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-189","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/pages\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":10,"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/pages\/189\/revisions"}],"predecessor-version":[{"id":4805,"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/pages\/189\/revisions\/4805"}],"wp:attachment":[{"href":"https:\/\/docs.redsun.design\/soulkitchen\/wp-json\/wp\/v2\/media?parent=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}