======================== Header basic blocks ======================== Banner blocks are those that appear in the header region on pages. Only one header block should appear on any given page. **Please check your placement as a user to ensure that only one block appears.** Create a new block ======================= To create a heading banner: * Go to Content => Blocks -> Add New block * Select basic * Enter a block description; this is what appears in the block library as the name of the block. * Enter the body. Use the styles below to provide the correct styling. * **DO NOT** add an image. **To immediately place: press Save and Configure** and see the next section. Place the block on the page ============================= Place the block by going to Structure => Block Layout **Be sure to uncheck "Display title"** Visibility ------------ All heading blocks should be restricted to specific pages. In the example below, the block is tagged to show on the Divorce easy form, the Getting a divorce guide, a node with node ID 12345 and the home page. .. image:: ../assets/block-visibility.png Region & Class ------------------- * Add the block to the Header section on the block layout page by clicking Place block. * The block must be ordered just above the disabled blocks to keep the block from interfering with menus, site slogan blocks. * Set the block CSS class to ilao-banner-block to cause it to display correctly full-width. .. image:: ../assets/header-block-config.png Styles ===================== For the styles, you will need to use the Source view in the WYSIWYG to paste the code in first. Grey background with wide margins ------------------------------------ This is typically used for donation and fundraising. This is the code used in the header banner to provide the correct style. .. code-block:: html
Text goes here
Your text goes here
Alert: The law has changed and this form is no longer good. We will have a new version on February 1. Learn more
We see you. Learn more about ILAO's commitment to keep you informed.