contao-thememanager/ctm-sticky-header

There is no license information available for the latest version (1.1.0) of this package.

Sticky header integration for Contao Theme-Manager

Fund package maintenance!
oveleon

Installs: 149

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Language:JavaScript

Type:symfony-bundle

1.1.0 2024-02-08 16:12 UTC

This package is auto-updated.

Last update: 2024-04-08 16:37:16 UTC


README

Description

Extends the theme manager configuration with new fields for a sticky header integration.

After compiling your theme, make sure to add:

  • _stickyheader.css to your Layout stylesheet settings
  • js_ctm_stickyheader to your javascript template

Make sure to follow following order of css files in your layout due to performance

  1. _stickyheader.css
  2. ...
  3. _theme.css (theme manager core)
  4. ...

Settings

Sticky Header
Option Description
$sh-background-start Initial background color for the sticky header
$sh-color-start Color for navigation items
$sh-color-start-hover Color for navigation items when hovered
$sh-background-end Ending background color for the sticky header
$sh-color-end Ending color for navigation items
$sh-color-end-hover Ending color for navigation items when hovered
$sh-stop-box-shadow Box-shadow dividing line when sticky header ended