Site Header and Footer

Customize the header and footer on your Expert site to provide a seamless, branded experience to your site visitors.

Add your own image, additional styling elements, JavaScript, navigation, and more to align with your corporate look and feel.

Benefits of a custom header and footer

Headers are located at the top of a site and contain the custom header and site logo. Header colors and options change based on the user viewing it. The custom header section pulls in the content of a custom header template located at /Template:Custom/Views/Header.

A custom footer section (optional) pulls in content created in the custom footer template located at /Template:Custom/Views/FooterThe default Expert footer comes with the following out of the box:

Customize header template

  1. Navigate to Site tools > Dashboard > Site Administration > Template Directory >  Template:Custom > Views > Site Header
    • Alternatively, go to the relative URL /Template:Custom/Views/Header
  2. Open the page in Edit mode and add the information you want to display, which can include CSS, DekiScript, or JavaScript
  3. Click Save

Custom header example


header-custom-header.png

Site logo example

Located in the upper left of the header area, your site logo can be uploaded in the control panel. 

header-site-logo.png

As pro member, navigate to Site tools > Control panel > Branding > Logo & Icons and upload any of  the following file types: GIF, JPG, PNG or SVG.

control-panel-site-logo.png

If uploading an SVG, be sure to use a CSS rule set to limit the maximum width since SVGs do not have a default height and width. The following CSS limits the size of the site logo responsively by using ems which measure character width and not pixels. 

.elm-header-logo-container img {
    max-width: 20em;
}  

Customize footer template

  1. Navigate to Site tools > Dashboard > Site Administration > Template Directory >  Template:Custom > Views > Site Footer
    • Alternatively, go to the relative URL /Template:Custom/Views/Footer
  2. Open the page in Edit mode and add the information you want to display, which can include CSS, DekiScript, or JavaScript
  3. Click Save

To add CSS, DekiScript or JavaScript, add the respective code blocks

Footer example

custom-footer.png