sec / no-padding-blocks
Removes the default 20px inline padding from cms blocks
Package info
github.com/stefan-eik-christiansen/SecNoPaddingBlocks
Language:JavaScript
Type:shopware-platform-plugin
pkg:composer/sec/no-padding-blocks
4.0.1
2026-07-25 14:49 UTC
Requires
- shopware/core: 6.7.*
This package is auto-updated.
Last update: 2026-07-25 15:12:36 UTC
README
Removes Shopware's default 20px inline paddings from CMS blocks in Shopping Experiences.
Behaviour
For 3.2+, 4.x is still Melvin's unfixed original at its fork.
- New CMS blocks start without Shopware's
20pxdefault margins. - Existing
20pxdefaults are removed when a layout is loaded or saved. - On update to version 3.2.0, a one-time database migration removes all margins from all existing CMS blocks.
- Custom values other than exactly
20pxremain unchanged. - Standard blocks and blocks supplied by third-party extensions are supported.
Requirements
- Shopware 6.6.10 or newer.
| Version | Requirements |
|---|---|
| 3.0.0 | Shopware 6.6 |
| 4.0.0 | Shopware 6.7 |
Installation after replacing an existing version
bin/console plugin:refresh bin/console plugin:update SecNoPaddingBlocks bin/console cache:clear bin/build-administration.sh
License
MIT