belsignum/container-background

dev-main 2023-05-24 21:54 UTC

This package is auto-updated.

Last update: 2024-06-25 00:11:23 UTC


README

Container Background

Provides a background resource tab within Container Elements "Page Container (ce_container)" for adding a background image to this content element

Installation

  1. composer req belsignum/container-background
  2. Insert static TypoScript template
  3. Checkout constants if they fit your needs
    • default dimensions are 1920w and 1280w
    • CSS density 1x and 2x is used to provide image formats
    • Template supports up to 5x
    • Check "use.javaScript" adding JS for loading backgrounds when DOM ready
    • Check "use.css" adding CSS