  {"id":3580,"date":"2024-12-11T15:56:00","date_gmt":"2024-12-11T20:56:00","guid":{"rendered":"https:\/\/www.montclair.edu\/university-communications\/?page_id=3580"},"modified":"2025-02-17T12:45:48","modified_gmt":"2025-02-17T17:45:48","slug":"homepage-band","status":"publish","type":"page","link":"https:\/\/www.montclair.edu\/university-communications\/web-development-and-experience\/montclair-edu-website-framework\/wordpress-shortcodes\/homepage-band\/","title":{"rendered":"Homepage Band"},"content":{"rendered":"<p><strong>Homepage Bands<\/strong> are the basic building blocks of homepage\/full-width layouts, labeled as the Advanced template in the page editor. Every piece of content <em>must<\/em> be placed inside a band. Homepage bands have four optional attributes that can be used to format them as page content.<\/p>\n<h2>Attributes<\/h2>\n<table class=\"responsive-table\">\n<thead>\n<tr>\n<th scope=\"col\">Name<\/th>\n<th scope=\"col\">Possible Values<\/th>\n<th scope=\"col\">Required<\/th>\n<th scope=\"col\">Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>align<\/td>\n<td><strong>left <\/strong>or <strong>right<\/strong><\/td>\n<td>No<\/td>\n<td>Sets the position of the text.<\/td>\n<\/tr>\n<tr>\n<td>class<\/td>\n<td><strong>lt-gray<\/strong>, <strong>red<\/strong>, <strong>skewed-edge<\/strong><\/td>\n<td>No<\/td>\n<td><strong>lt-gray<\/strong> and <strong>red<\/strong> set the background color &#8211; both can be used in combination with <strong>skewed-edge<\/strong><\/td>\n<\/tr>\n<tr>\n<td>image<\/td>\n<td>URL to an image (starting with \/)<\/td>\n<td>No<\/td>\n<td>If specified an image will be displayed to the left or the right of the text dependent on the <strong>align<\/strong> attribute.<\/td>\n<\/tr>\n<tr>\n<td>scalable<\/td>\n<td><strong>true <\/strong>or <strong>false<\/strong><\/td>\n<td>No<\/td>\n<td>If set to true, the text and image will scale in proportion to one another. This produces smaller text on tablets but might be necessary to keep items aligned properly.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Layout Examples<\/h2>\n<h3>Left aligned, skewed edge<\/h3>\n<figure class=\"responsive-image-holder wp-caption alignnone\"><img decoding=\"async\" class=\"mlt-responsive-image\" data-original-image=\"\/university-communications\/wp-content\/uploads\/sites\/144\/2024\/12\/Homepage-band-skewed-edge.png\" src=\"\/responsive-media\/cache\/university-communications\/wp-content\/uploads\/sites\/144\/2024\/12\/Homepage-band-skewed-edge.png.0.1x.generic.jpg\" alt=\"example of homepage band with left aligned text, light grey background, and skewed edge image.\"\/><\/figure>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;homepageband scalable=&quot;true&quot; image=&quot;image link&quot; class=&quot;lt-gray skewed-edge&quot;]\r\ntext content&#x5B;buttonrow]&#x5B;button]&lt;a href=&quot;button link&quot;&gt;Button Text Here&lt;\/a&gt;&#x5B;\/button]&#x5B;\/buttonrow]&#x5B;\/homepageband]\r\n<\/pre>\n<h3>Right aligned<\/h3>\n<figure class=\"responsive-image-holder wp-caption alignnone\"><img decoding=\"async\" class=\"mlt-responsive-image\" data-original-image=\"\/university-communications\/wp-content\/uploads\/sites\/144\/2024\/12\/Homepage-band-right-align-1.png\" src=\"\/responsive-media\/cache\/university-communications\/wp-content\/uploads\/sites\/144\/2024\/12\/Homepage-band-right-align-1.png.0.1x.generic.jpg\" alt=\"example of homepage band with image to the left and text content to the right\"\/><\/figure>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;homepageband class=&quot;lt-gray&quot; align=&quot;right&quot; scalable=&quot;true&quot; image=&quot;image link here&quot;]\r\nText content here\r\n\r\n&#x5B;button]&lt;a rel=&quot;noopener noreferrer&quot; href=&quot;button link here&quot; target=&quot;_blank&quot;&gt;Button Text Here&lt;\/a&gt;&#x5B;\/button]\r\n\r\n&#x5B;\/homepageband]\r\n\r\n<\/pre>\n<h3>Code Sample (no image)<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&#x5B;homepageband align=&quot;left&quot; scalable=&quot;true&quot;]\r\n\r\nPlace content inside here.\r\n\r\n&#x5B;\/homepageband]<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Homepage Bands are the basic building blocks of homepage\/full-width layouts, labeled as the Advanced template in the page editor. Every piece of content must be placed inside a band. Homepage bands have four optional attributes that can be used to format them as page content. Attributes Name Possible Values Required Notes align left or right [&hellip;]<\/p>\n","protected":false},"author":411,"featured_media":3554,"parent":3552,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3580","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/users\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/comments?post=3580"}],"version-history":[{"count":4,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3580\/revisions"}],"predecessor-version":[{"id":4011,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3580\/revisions\/4011"}],"up":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media\/3554"}],"wp:attachment":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media?parent=3580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}