sec/no-padding-blocks

Removes the default 20px inline padding from cms blocks

Maintainers

Package info

github.com/stefan-eik-christiansen/SecNoPaddingBlocks

Language:JavaScript

Type:shopware-platform-plugin

pkg:composer/sec/no-padding-blocks

Transparency log

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 0

4.0.1 2026-07-25 14:49 UTC

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 20px default margins.
  • Existing 20px defaults 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 20px remain 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