# Changing container values using variables

**URL:** <https://forums.concretecms.org/t/changing-container-values-using-variables/1939>\
**Category:** Developing with Concrete\
**Created:** [December 17, 2021, 10:58am UTC](https://forums.concretecms.org/t/changing-container-values-using-variables/1939 "2021-12-17T10:58:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fishueel](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fishueel/32/1176_2.png) [@Fishueel](https://forums.concretecms.org/u/Fishueel)\
**Post date:** [December 17, 2021, 10:58am UTC](https://forums.concretecms.org/t/changing-container-values-using-variables/1939/1 "2021-12-17T10:58:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![katalysis](https://forums.concretecms.org/user_avatar/forums.concretecms.org/katalysis/32/5562_2.png) [@katalysis](https://forums.concretecms.org/u/katalysis)\
**Post date:** [December 17, 2021, 3:28pm UTC](https://forums.concretecms.org/t/changing-container-values-using-variables/1939/2 "2021-12-17T15:28:16Z")

</div>

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