Scrivito Fancy Header
A fancy header React component/Scrivito widget for the Scrivito CMS.
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-fancy-header
Import the widget in your javascript src/Widgets/index.js
.
Add this line to your index.js:
;
Also add the styling of the widget to your app. This can be done by either loading it via css-loader
(e.g. in index.js
or Widgets/index.js
):
;
Or by including the styling to your style sheets (e.g. in index.scss
):
;
Features
This widget renders a header with 3 sections, side by side. On mouse over the target section growth to 2/3 of the header width. Works best with full width.
Widget properties
In the widget properties you can set:
- 3 section with a title link and an image
The link should point to an element of the same page with an id. For this you can use the widget 'Headline with an anchor id'