I am an active community member and passionate concrete5 developer. My goal is to make useful, high quality add-ons to make your business more succesful and to grow concrete5. In case you are looking for a developer, I am available for work!

Block Wrapper

Developed by

Simple addon that creates a wrapper div around a block with in the same block area.


What it does

It wraps a '<div>' element around one or more blocks. That element is called a wrapper or a container. You can add an ID, various CSS classes, or custom attributes to the wrapper. It's especially useful for developers who want to apply styling to a group of blocks.

Why not setBlockWrapperStart?

The problem with the setBlockWrapperStart is that *all* blocks get the same HTML structure. It's not easy to make an exception for one block without creating a new area.

Why not an HTML-block?

The HTML-block *could* do the same, but it's a bit too simple. For example, it won't give a fixed height to the closing DIV in editing mode.

Why not a stack?

It's an option, but it kind of 'breaks' the idea of front-end editing. To edit the stack you have to go to the back-end. Also, because e.g. applying styles to a stack currently doens't work (tested in 8.4.0), the interface doesn't feel quite reliable.


  • PHP 5.6+
  • concrete5 8.0.0+


  • If you run concrete5 8.4.0+ an additional check will be performed to prevent unopened or unclosed wrappers. It's a nice protective safe mechanism to prevent HTML errors.
  • The add-on is pure PHP, so no unnecessary JavaScript or CSS you need to load.
  • This is a modernized version of the old 5.6 Block Wrapper.

See all add-ons from A3020

Current Version: 1.0.1
Fully Translatable: Yes
Needs External Libraries: No
Compatible 8.0.0+
License: Standard
Support Response: Replies to tickets every few days.
Support Hosted: On marketplace.concretecms.com
Needs extra server permissions: No
Needs Internet: No
Marketplace Tests:
Passed Automated Tests
Passed PRB Review