# How to stack two elements

**URL:** <https://community.sitejet.io/t/how-to-stack-two-elements/924>\
**Category:** Website Builder\
**Tags:** cms\_element\
**Created:** [August 29, 2021, 9:27am UTC](https://community.sitejet.io/t/how-to-stack-two-elements/924 "2021-08-29T09:27:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulfs.sitejet](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/ulfs.sitejet/32/573_2.png) [@ulfs.sitejet](https://community.sitejet.io/u/ulfs.sitejet)\
**Post date:** [August 29, 2021, 9:27am UTC](https://community.sitejet.io/t/how-to-stack-two-elements/924/1 "2021-08-29T09:27:16Z")

</div>

I would like to put a button over an image.

if I try to drag mit STRG an button element over an image element the button is place above or under the image but not on top (stacked with the image in the backgroud)

Thus my question, it is possible to put one element in the background and a second in the foreground and if so how?

thx in advance  
ulf

---

<div class="post-metadata">

**Author:** ![Patrick\_Luescher](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/patrick_luescher/32/24_2.png) [@Patrick\_Luescher](https://community.sitejet.io/u/Patrick_Luescher)\
**Post date:** [August 29, 2021, 1:47pm UTC](https://community.sitejet.io/t/how-to-stack-two-elements/924/2 "2021-08-29T13:47:46Z")

</div>

Hi Ulf! There are many ways to do this. A simple solution is that you take a container element and insert a background image on it. Then you can simply place the button in the container.

---

<div class="post-metadata">

**Author:** ![ulfs.sitejet](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/ulfs.sitejet/32/573_2.png) [@ulfs.sitejet](https://community.sitejet.io/u/ulfs.sitejet)\
**Post date:** [August 29, 2021, 6:08pm UTC](https://community.sitejet.io/t/how-to-stack-two-elements/924/3 "2021-08-29T18:08:50Z")

</div>

super, thanks, container with picture in the background was exactly the right solution!

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [November 30, 2023, 11:38am UTC](https://community.sitejet.io/t/how-to-stack-two-elements/924/4 "2023-11-30T11:38:50Z")

</div>

Closed on November 30, 2023, 11:38am UTC


