Creating an App Header

Overview

The app header sits at the top of your application and is viewable on each page. Adding a customized app header is a way to brand your entire experience.

Uploading images for the App Header

Upload the images that you intend to display in your header by toggling over to Media Library and clicking on Upload.

643

After dragging and dropping the images (or selecting them for upload directly from the files on your computer), you will see them listed in the Stage:

992

Creating the App Header

Toggle over to Web Flows Builder. In the Tree, go to Page Layouts > Standard Layout. Here we’ll set the header for both the Mobile and Desktop Layouts:

Mobile Layout

  1. Go to Mobile and check the dimensions in the Inspector. By default, the browser width is defined in 800px but it can be changed.

  1. Click on the '+' icon next to the Container and add a new Container. Rename it to 'App Header'.

  1. Drag and drop the App Header Container to be above Main Content in the Tree so that it sits above the content of each Web Page within your application.
  2. Click on the '+' icon next to the App Header Container and select Image as a Media control. Then change the name to 'Header image'.

  1. In the Inspector section, go to General > Control Properties and use the split control to select the image you need from the Asset dropdown. This way, the image will show up in the Stage.
836
  1. Then go to Style > Override Styles and set the Dimensions to 50% width. This leaves space to add another image, a Label, or even a Button that opens a Modal.
852

The contents of the new App Header Container will now appear above every Web Page within your application when it is viewed from a Mobile format, as defined by the value given under Mobile > Advanced Options > Use When.

Desktop Layout

  1. Go to Desktop and check the dimensions in the Inspector. By default, the browser width is defined in 800px but it can be changed.

📘

The Mobile Layout takes precedence over the Desktop layout. If the Use When value is TRUE for both the Mobile and Desktop layout, the Mobile layout will be the one used. To avoid confusion, define the Use When values the Mobile and Desktop layouts as mutually exclusive.

  1. Click on the '+' icon next to the Container and add a new Container. Rename it to 'App Header'.

  1. Drag and drop the App Header Container to be above Main Content in the Tree so that it sits above the content of each Web Page within your application.
  1. Click on the '+' icon next to the App Header Container and select Image as a Media control. Then change the name to 'Header image'.

  1. In the Inspector section, go to General > Control Properties and use the split control to select the image you need from the Asset dropdown. This way, the image will show up in the Stage.
836
  1. Then go to Style > Override Styles and set the Dimensions to 50% width. This leaves space to add another image, a Label, or even a Button that opens a Modal.
852

The contents of the new App Header Container will now appear above every Web Page within your application.