Homepage Bands are the basic building blocks of every homepage layout. Every piece of content must be placed inside a band.
Attributes
Name | Possible Values | Required | Notes |
---|---|---|---|
align | left or right | No | Sets the position of the text. |
class | lt-gray, red, skewed-edge | No | lt-gray and red set the background color – both can be used in combination with skewed-edge |
image | URL to an image (starting with /) | No | If specified an image will be displayed to the left or the right of the text dependent on the align attribute. |
scalable | true or false | No | 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. |
Code Sample
[homepageband class="lt-gray" align="left" scalable="true" image="/samples/wp-content/uploads/sites/12/2017/03/Cognitive-Science-e1496861798938.jpg"] Place content inside here. [/homepageband]