Add header image using style class
This procedure shows you how to add an image or company logo to the header bar widget of your application using a style class.
About this task
The style classes for the header image are defined in the header widget
(MyHeaderBarWidget
).
Before you begin
You must have a project directory which contains the following
.js, .tpl.html, and
.scss files:
-
In customization-project-dir/js:
- MyMainContainerWidget.tpl.html
- MyMainContainerWidget.tpl.js
- MyHeaderBarWidget.tpl.html
- MyHeaderBarWidget.js
-
In customization-project-dir/sass:
- customization.scss
- MyMainContainerWidget.scss
These files may be copied from your gbc-project-dir/customization/sample directory.
-
Your customization-project-dir/resources/img directory contains your image file.
Steps