Changing container values using variables

Hey all,

Is it possible to add a controller.php or form.php to a container, like a custom block?
I would like some more flexibility on how the container looks when added on a page.
Like changing:

  • background-color
  • background-image
  • padding-top

This would make it much more easier than it is implemented right now. If i would like to use the same container, on the same page (or another page, doesn’t matter) but this time with a background-image. I would have to hardcode this per container.

This could quickly result in a few dozen containers each with its own style.

So is this already a possibility? Or will this be a new feature?

Cheers,
Darryl

2 Likes

+1 for this - the ability to add classes would be even more powerful and dramatically cut down on the number of containers needed.