vonheldenundgestalten / contao-autowrap
Contao 4 bundle to wrap content elements for easier page layout and HTML organization.
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- contao/core-bundle: ^5.3
Requires (Dev)
- contao/manager-plugin: ^2.3.1
This package is auto-updated.
Last update: 2024-10-22 15:10:32 UTC
README
Contao 4 bundle to wrap content elements for easier page layout and HTML organization.
The extension automatically wraps the same content elements in a div for applying CSS to the collection of items, for example flex or grid based arrangements of the unit. Current structure for the wrap:
<div class="autowrap autowrap-<elementname> autowrap-element-count-<number of elements>"> <div class="inside"> <elements> </div> </div>
Elements and Aliases for the same element can be mixed.
Usage
- Go to settings and select which elements should be wrapped
- Done :)
Screenshot of a recent project using autowrap. Don't mind the weird element names, we use a lot of custom content elements ;)
Multiple content elements can be selected - but we only create groups of the same elements within one wrap.