Skip to content

mdwp/scrivito-fancy-header

Repository files navigation

Scrivito Fancy Header

CMS: Scrivito License: MIT

A fancy header React component/Scrivito widget for the Scrivito CMS.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-fancy-header

Import the widget in your javascript (e.g. in index.js or Widgets/index.js).

Add this line to your index.js:

import "scrivito-fancy-header";

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):

import "scrivito-fancy-header/index.css";

Or by including the styling to your style sheets (e.g. in index.scss):

@import "~scrivito-fancy-header/index.css";

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'

About

A fancy header React component/Scrivito widget for the Scrivito CMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published