{"id":12081,"date":"2020-10-16T15:36:50","date_gmt":"2020-10-16T14:36:50","guid":{"rendered":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/?page_id=12081"},"modified":"2021-11-09T10:24:00","modified_gmt":"2021-11-09T10:24:00","slug":"image-and-text-block","status":"publish","type":"page","link":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/image-and-text-block\/","title":{"rendered":"Image and Text Block"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Lynx Image and Text block can be used for a 2 column layout with an image in one column and text (or other content) in the other.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The ratio of the columns can be adjusted and the image placed to the left or right.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At narrow widths the layout will change to single column with the image above the text area (regardless of the image left \/ right placement).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike just using a columns block, the image is automatically cropped to fit the available width and so that the height of the 2 columns is the same.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Block Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Minimum Height<\/em><\/strong>: this will set a minimum height for the block, the options are full, half and auto. Auto will set the height based on the space required for the content of the Text area, full and half relate to the screen height.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image Placement<\/em><\/strong>: the image can be placed in the left or right column.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image Mode<\/em><\/strong>: sets the image either to fill the available space, being cropped as necessary, or to be as large as possible without being cropped.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Focus Point Control<\/em><\/strong>: select the basic settings or use the detailed focus point selector<\/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\">\n<p class=\"wp-block-paragraph\"><strong>Basic settings<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image<\/em><\/strong>: the image, selected from the Media Library or uploaded from your computer, should be large enough so it doesn&#8217;t have to be scaled up to fill the column. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image Vertical Focus<\/em><\/strong>: select the vertical focus of the image \u2013 top centre or bottoms \u2013 so it is prioritised during cropping. (In most cases, the full height of the image will be used, so Horizontal Focus, below, is probably more important.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image Horizontal Focus<\/em><\/strong>: select the horizontal focus of the image \u2013 left, centre or right \u2013 so it is prioritised during cropping.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Detailed settings<\/strong> <sup><span style=\"color:red;background-color:yellow\"> NEW <\/span><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Image With Focus<\/em><\/strong>: allows you to select an image from the Media Library or uploaded from your computer and define a precise focus point that will be given priority if the image needs to be cropped to fit the available space.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text Area Width<\/em><\/strong>: you can set the text column width to 1\/4, 1\/3, 1\/2, 2\/3, 3\/4 or %.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text Area Width Percent<\/em><\/strong>: if Text Area Width is set to %, you can set the width from 20-80%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Match Tile Spacing<\/em><\/strong>: used with one of the preset widths, this will adjust the content width to align with Tiles in other blocks that use spacing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text 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>Text Area Background Colour<\/em><\/strong>: pick a colour from the colour palette \/ picker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text Area Background Transparency<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Text Area Padding<\/em><\/strong>: if the Text Area background is the same colour as the page \/ container block background, you may wish to remove the outer padding of the Text Area.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example Image and Text block<\/h2>\n\n\n\n<div id=\"lgd-image-text-block_5f89aeeb02394\" class=\"lgd-block lgd-block-image-text alignwide image-cover flexcontainer r-to-l no-gutter block-min-height-auto\" style=\"background-color: rgba(140,196,106,1);\">\n\t<div class=\"image-text-image box width-half\" style=\"background-image: url(https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/05\/solar-panels-jaidee-pixabay.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat;\">\n\t<\/div>\n\t<div class=\"image-text-text box text has-background-color width-half flexcontainer valign-top\" style=\"\">\n\t\t<div class=\"acf-innerblocks-container\">\n\n<h2 class=\"has-black-color has-text-color wp-block-heading\">Solar Power<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Solar photovoltaic (PV) panels work by converting sunlight directly into electricity (even on cloudy days) using semiconductor technology. They can be integrated into buildings and even made into roof tiles virtually indistinguishable from normal tiles. Solar PV contributes about 3% of Britain\u2019s electricity supply.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Solar energy can also be used to heat water directly using specially designed collectors. Even in winter a useful amount of hot water can be produced from roof top collectors.<\/p>\n\n<\/div>\n\t<\/div>\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>The Lynx Image and Text block can be used for a 2 column layout with an image in one column and text (or other content) in the other. The ratio of the columns can be adjusted and the image placed&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-12081","page","type-page","status-publish","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/12081","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=12081"}],"version-history":[{"count":16,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/12081\/revisions"}],"predecessor-version":[{"id":13442,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/12081\/revisions\/13442"}],"wp:attachment":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media?parent=12081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}