{"id":10702,"date":"2020-04-14T20:47:24","date_gmt":"2020-04-14T19:47:24","guid":{"rendered":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/?page_id=10702"},"modified":"2020-09-06T13:36:02","modified_gmt":"2020-09-06T12:36:02","slug":"responsive-layout","status":"publish","type":"page","link":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/responsive-layout\/","title":{"rendered":"Responsive Layout and Grid Balance"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Responsive design aims to ensure that a web page will display well at any screen size.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The LGD Callanish theme\u2019s Tiles design feature, with its column layout, adjusts fluidly to different screen widths. As columns become too narrow, the number of columns is reduced.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When Grid Balance is enabled, it ensures that the final row of Tiles is full, with no empty space. This is achieved by making some Tiles span two columns. And this automatically adjusts as the number of columns changes.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-large img-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"771\" src=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2.jpg\" alt=\"Responsive layout - three screen widths showing Tiles reflowing while maintaining Grid Balance\" class=\"wp-image-10816\" srcset=\"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2.jpg 1080w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2-600x428.jpg 600w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2-360x257.jpg 360w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2-768x548.jpg 768w, https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/responsive-layout-2-300x214.jpg 300w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><figcaption>Responsive Tile layout at three screen widths<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the example above, to balance seven tiles in a three column grid, Tiles One and Four span two columns. As the screen width reduces, the number of columns is cut to two, and only Tile One is required to span two columns to achieve a balanced grid. At even narrower screen widths, the layout drops to a single column.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike some other grid layout systems which rely on JavaScript to recalculate widths and resize images, the LGD Callanish theme\u2019s Grid Balance is achieved with just html and css styling.<\/p>\n\n\n\n<div class=\"wp-block-cover alignfull showcase\" style=\"background-image:url(https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-content\/uploads\/2020\/04\/Web-Showcase-Responsive-Design-3-scaled.jpg)\"><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center showcase has-large-font-size wp-block-paragraph\"><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Responsive design aims to ensure that a web page will display well at any screen size. The LGD Callanish theme\u2019s Tiles design feature, with its column layout, adjusts fluidly to different screen widths. As columns become too narrow, the number&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-10702","page","type-page","status-publish","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10702","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=10702"}],"version-history":[{"count":13,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10702\/revisions"}],"predecessor-version":[{"id":11850,"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/pages\/10702\/revisions\/11850"}],"wp:attachment":[{"href":"https:\/\/www.lynxwebdevelopment.co.uk\/lgd-callanish\/wp-json\/wp\/v2\/media?parent=10702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}