layers_after_header

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code after the header and before the content wrapper.

Location: header.php

Code output appears after:

Code output appears before:

wrapper-content

Usage:

Example:

This main hook allows you to inject anything between the header and the beginning of the content area in your child theme. This is a great place for elements like newsletter sign-up banners, images, divider graphics etc. It must be wrapped in a div or section. Sections should contain at least one HTML heading. These elements will span full-width, so if you want the content to conform to the default boxed layout, add the Layers CSS framework’s span-12 class to the inner element wrapper (ie <form class=”column span-12″>