contao-thememanager / ctm-sticky-header
Sticky header integration for Contao Theme-Manager
Fund package maintenance!
oveleon
Installs: 292
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: ^8.1
- contao-thememanager/core: ^2.0.8
- contao/core-bundle: ^4.13 || ^5.2
Requires (Dev)
- contao/manager-plugin: ^2.3.1
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2025-03-08 18:46:19 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
- _stickyheader.css
- ...
- _theme.css (theme manager core)
- ...
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 |