{"id":11345,"date":"2020-06-02T10:44:15","date_gmt":"2020-06-02T09:44:15","guid":{"rendered":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/?page_id=11345"},"modified":"2021-01-31T23:35:32","modified_gmt":"2021-01-31T23:35:32","slug":"image-panel-block","status":"publish","type":"page","link":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/image-panel-block\/","title":{"rendered":"Image Panel Block"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Lynx Image Panel block is a container block with a background image and an inner content area where other blocks can be inserted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The block depends on WordPress 5.5 and Advanced Custom Fields Pro 5.9, which are not yet released but due in August \u201920.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are settings to control the height of the panel, transparency of the background image and whether it is fixed or scrolls with the panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The content area can have a background colour and transparency level set. And the width and positioning of the content area and its contents are highly adjustable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The width of the content area can be set as a fraction of the available width, and the content area set to align with the grid pattern used by Tile blocks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This block makes extensive use of modern layout methods which are not fully supported by older browsers such as Internet Explorer 10. These older browsers, representing around 2.5% of total browser use, are no longer supported by WordPress itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The full list of settings:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h2 class=\"wp-block-heading\">Panel and Background<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Background Image<\/em><\/strong>: an image selected from the Media Library or uploaded from your computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Background Image Focus<\/em><\/strong>: Select the focus of the image, top, centre or bottom, so it is prioritised during cropping. How much of the image is cropped will vary with Panel block height and screen size.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Background Transparency<\/em><\/strong>: a slider to set the percentage transparency.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Background Colour Selector<\/strong><\/em>: choose either the Theme Colour Palette (recommended in most cases) or Full Colour Picker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Background Colour<\/strong><\/em>: pick a colour from the colour palette \/ picker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image Fixed or Scroll<\/em><\/strong>: if set to fixed, the image covers the whole screen area and the panel content scrolls over the top, otherwise the image fills the panel and scrolls with the contents.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Block Height<\/em><\/strong>: sets the minimum height of the panel as the full screen height, half the screen height or auto (determined by the panel contents).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Sloping Top Edge<\/em><\/strong>*: applies a slope to the top of the block, either positive or negative; note that as the slope is at a fixed angle, the amount of cropping this will introduce to the block will depend on screen width. As the content area may also be cropped you should ensure that content, positioning and padding are set to ensure there is no cropping of key content (especially text).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Sloping Bottom Edge<\/em><\/strong>*: applies a slope to the bottom of the block, either positive or negative; note that as the slope is at a fixed angle, the amount of cropping this will introduce to the block will depend on screen width. As the content area may also be cropped you should ensure that content, positioning and padding are set to ensure there is no cropping of key content (especially text).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Remove Top Margin<\/em><\/strong> : Removing the space between this block and the preceding one can sometimes improve the appearance by avoiding a band of white between blocks if the preceding block has an image or colour background. But this needs used with care, especially if used with <em>Sloping Edges<\/em>, as it may cause some content to be hidden. Adding a Spacer block at the end of any container block, such as Group block, is recommended.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Removing top margin can avoid a band of white above the block if the preceding block has an image or colour background.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Remove Bottom Margin<\/em><\/strong> : Removing the space between this block and the following one can sometimes improve the appearance. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If used with <em>Sloping Edges<\/em> it may cause content to be hidden in the following block. If the next block starts with text or other content which must not be hidden, you should add a spacer block before it. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a Group block follows a Panel block it will have top padding added automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">* note that this effect is not displayed on Internet Explorer or some other older browsers. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<div class=\"wp-block-image img-border\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"1217\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-block-settings-5.png\" alt=\"\" class=\"wp-image-12274\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-block-settings-5.png 280w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-block-settings-5-138x600.png 138w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-block-settings-5-83x360.png 83w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-block-settings-5-69x300.png 69w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"607\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7.jpg\" alt=\"Illustration of the Panel and Content Area settings\" class=\"wp-image-11371\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-600x337.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-360x202.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-768x432.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-300x169.jpg 300w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-592x333.jpg 592w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/06\/ImagePanelBlockIllustration7-720x405.jpg 720w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h2 class=\"wp-block-heading\">Content Area<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Positioning of the content area within the panel is controlled by a toolbar button, the icon for which is three rows of three dots. Clicking on this opens a panel where you can select any of the nine positions from top left to bottom right. The actual positioning will be constrained by the settings below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Max Width<\/em><\/strong>: this sets the overall constraints for the positioning of the content (Full width, Wide or Narrow)  which equates to the alignfull, alignwide and aligncenter block widths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Width<\/em><\/strong>*: sets the width of the Content Area as a fraction of the available width as determined by the Content Area Max Width. The options match the 1, 2, 3 or 4 column grid patterns available to Tile blocks, this includes the percentage width being increased for narrower screen widths in the same way as the Tile grid reduces the number of columns in the grid. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you can select Percentage, which allows you to use a slider to select an exact percentage, see <em>Content Width Percent<\/em>, below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Match Tile Spacing<\/em><\/strong>: can be used to adjust the content width so it will match the Tile grid alignment of Tile blocks with spacing between the tiles (not available with Content Width Percent).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Width Percent<\/em><\/strong>*: this option appears if you select \u201c%\u201d for the <em>Content Width<\/em> and lets you set any width you want but is not recommended for most cases &#8211; this is because unlike the Content Width setting, the value set will be used at all screen widths, so will result in very narrow columns on tablets and phones unless a high value is set (lower values are available as there may be unusual use cases where they are suitable).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Height<\/em><\/strong>: this is the minimum height and is either auto (determined by the content) or full (the height of the panel). This will determine whether any background colour is just behind any content or extends the full height of the panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Background Colour Selector<\/em><\/strong>: choose either the Theme Colour Palette (recommended in most cases) or Full Colour Picker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Background Colour<\/em><\/strong>: pick a colour from the colour palette \/ picker. This sets the colour that will be used behind the content (it will not fill the whole content area unless content width is set to 100%).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Background Colour Transparency<\/em><\/strong>: sets the transparency of the background colour.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Outer Padding<\/em><\/strong>: sets the top and bottom padding (in pixels) between the content area and the panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Content Area Inner Padding<\/em><\/strong>: sets the padding (in pixels) between the content area and the content (individual content blocks may have their own padding \/ margin, increasing the spacing).<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<div class=\"wp-block-image img-border\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"1069\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-content-settings-3.png\" alt=\"\" class=\"wp-image-12276\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-content-settings-3.png 280w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-content-settings-3-157x600.png 157w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2021\/01\/lynx-image-panel-content-settings-3-94x360.png 94w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Note that depending on screen size and other block settings, some of these settings will make no difference to how the panel content displays. The block has a great deal of flexibility, but this means there are setting combinations which may not work well together or with specific inner content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">* note that the Content Width should be set to 1 or 100% if it will contain non-text blocks and you wish your site to display well on Internet Explorer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Lynx Image Panel block is a container block with a background image and an inner content area where other blocks can be inserted. The block depends on WordPress 5.5 and Advanced Custom Fields Pro 5.9, which are not yet&nbsp;\u2026 <\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","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":""},"class_list":["post-11345","page","type-page","status-publish","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/11345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/comments?post=11345"}],"version-history":[{"count":38,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/11345\/revisions"}],"predecessor-version":[{"id":12279,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/11345\/revisions\/12279"}],"wp:attachment":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media?parent=11345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}