# Add Layout Container Issues

**URL:** https://forums.concretecms.org/t/add-layout-container-issues/3281
**Category:** Using Concrete / Help
**Created:** [June 14, 2022, 11:28am UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281 "2022-06-14T11:28:43Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![GMB](https://forums.concretecms.org/user_avatar/forums.concretecms.org/gmb/32/5777_2.png) [@GMB](https://forums.concretecms.org/u/GMB)
#### Post date: [June 14, 2022, 11:28am UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/1 "2022-06-14T11:28:43Z")

</div>

Does anyone else get this issue. In v9 when you add a layout and drag the columns an offset gets added meaning that you cant close up columns. This happens in Elemental as well as my own themes. It is not present in Atomik as this uses Bootstrap 5.  
Never had this issue in version 8

 ![layout-container-drag](https://forums.concretecms.org/uploads/default/original/2X/d/daf3da1a734319ebbdf4109b49646b8d4d004a68.jpeg)

---

<div class="post-metadata">

### Author: ![jessicadunbar](https://forums.concretecms.org/user_avatar/forums.concretecms.org/jessicadunbar/32/4320_2.png) [@jessicadunbar](https://forums.concretecms.org/u/jessicadunbar)
#### Post date: [June 15, 2022, 3:07pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/2 "2022-06-15T15:07:16Z")

</div>

What version are you running? I know 9.1 and 9.1.1 do have some layout improvements. [9.1.1 Release Notes :: Concrete CMS](https://documentation.concretecms.org/developers/introduction/version-history/911-release-notes)

---

<div class="post-metadata">

### Author: ![GMB](https://forums.concretecms.org/user_avatar/forums.concretecms.org/gmb/32/5777_2.png) [@GMB](https://forums.concretecms.org/u/GMB)
#### Post date: [June 15, 2022, 4:02pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/3 "2022-06-15T16:02:09Z")

</div>

Thanks for your reply. I am running 9.1.1 at the moment although this issue has been present since I started testing version 9. I am not sure whether this is down to a unique factor for me or whether other people are experiencing this. I will install a fresh version of 9.1.1 to see if it still happens.

---

<div class="post-metadata">

### Author: ![GMB](https://forums.concretecms.org/user_avatar/forums.concretecms.org/gmb/32/5777_2.png) [@GMB](https://forums.concretecms.org/u/GMB)
#### Post date: [June 15, 2022, 6:28pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/4 "2022-06-15T18:28:00Z")

</div>

Just checked with a fresh instalation of 9.1.1 with no addons and the fault happens with Elemental just the same.

---

<div class="post-metadata">

### Author: ![VisualNotes](https://forums.concretecms.org/user_avatar/forums.concretecms.org/visualnotes/32/3547_2.png) [@VisualNotes](https://forums.concretecms.org/u/VisualNotes)
#### Post date: [July 6, 2022, 9:47am UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/5 "2022-07-06T09:47:23Z")

</div>

I’m experiencing the same issue and even worse, it’s impossible to set layout columns anyway, as reported as bug for version 9.0.2:

> <https://github.com/concretecms/concretecms/issues/10407>
>
> \### Affected Version of Concrete CMS
> 
> 9.x
> 
> \### Description
> 
> I am attempti…ng to split my are Area using custom layout but I keep getting an unexpected behavior.
> 
> 
> 
> \### How to reproduce
> 
> I did the following steps
> Area \> Add Layout \> choose Bootstrap5 As grid option \> Trying to split the layout on two equal columns by dragging the handles.
> 
> !\[container\_layout\_issue\](https://user-images.githubusercontent.com/15094821/157053758-388213db-61dd-43d9-87f1-b64a605a9bf1.gif)

which actually should have been resolved.

---

<div class="post-metadata">

### Author: ![Chrouglas](https://forums.concretecms.org/user_avatar/forums.concretecms.org/chrouglas/32/4951_2.png) [@Chrouglas](https://forums.concretecms.org/u/Chrouglas)
#### Post date: [October 24, 2022, 4:12pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/6 "2022-10-24T16:12:05Z")

</div>

I am running 9.1.2 on php 8.1.11 and am having the same issue with my custom theme. I also just did a fresh install and found the issue using the Elemental theme but NOT with the Atomik theme. Can anyone tell me what it is about the Atomik theme that is making this work.

---

<div class="post-metadata">

### Author: ![EvanCooper](https://forums.concretecms.org/user_avatar/forums.concretecms.org/evancooper/32/4597_2.png) [@EvanCooper](https://forums.concretecms.org/u/EvanCooper)
#### Post date: [October 28, 2022, 12:41am UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/7 "2022-10-28T00:41:51Z")

</div>

Hi @Chrouglas - it could be something that’s been updated in Atomik but not in Elemental - I would recommend opening a new issue here:

> **[Issues · concretecms/concretecms](https://github.com/concretecms/concretecms/issues/)**
>
> Official repository for Concrete CMS development. Contribute to concretecms/concretecms development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![anon83226287](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@anon83226287](https://forums.concretecms.org/u/anon83226287)
#### Post date: [October 28, 2022, 7:34am UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/8 "2022-10-28T07:34:29Z")

</div>

In your theme does it say:

protected $pThemeGridFrameworkHandle = ‘bootstrap5’ ; ?

If you have an older bootstrap 3 theme using grid classes for layouts, then you need to adjust your grid according to bootstrap4/5:

> **[Migrating to v4](https://getbootstrap.com/docs/4.6/migration/#grid-system)**
>
> Bootstrap 4 is a major rewrite of the entire project. The most notable changes are summarized below, followed by more specific changes to relevant components.

> **[Migrating to v5](https://getbootstrap.com/docs/5.0/migration/#grid-updates)**
>
> Track and review changes to the Bootstrap source files, documentation, and components to help you migrate from v4 to v5.

We use an Elemental theme adjusted to Bootstrap 5 and we have no issues when working with version 9 / PHP 8

---

<div class="post-metadata">

### Author: ![Chrouglas](https://forums.concretecms.org/user_avatar/forums.concretecms.org/chrouglas/32/4951_2.png) [@Chrouglas](https://forums.concretecms.org/u/Chrouglas)
#### Post date: [October 28, 2022, 2:56pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/9 "2022-10-28T14:56:21Z")

</div>

Hey there Blink. Can you narrow this down a little. The columns in the layout seem to be correct…  
﻿﻿﻿

 ![image](https://forums.concretecms.org/uploads/default/original/2X/1/113c1c7d1c8dae08191af75780088e291e60fbda.png)  
 ![image](https://forums.concretecms.org/uploads/default/original/2X/4/4f9eba02cdab28e80d5662c2dc8b19d7a6b9668c.png)

I think the issue has to do with the slider handles and how their position is calculated.

---

<div class="post-metadata">

### Author: ![VidalThemes](https://forums.concretecms.org/user_avatar/forums.concretecms.org/vidalthemes/32/4253_2.png) [@VidalThemes](https://forums.concretecms.org/u/VidalThemes)
#### Post date: [October 28, 2022, 6:17pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/10 "2022-10-28T18:17:10Z")

</div>

Looks like you might be experiencing this issue: [Issue when adding container layout using bootstrap5 grid - Issue Active in Version 9.12 · Issue #10954 · concretecms/concretecms · GitHub](https://github.com/concretecms/concretecms/issues/10954)

Please note there is a slight difference in the CSS on the above git hub issue to the CSS used for the fix here:

> <https://github.com/concretecms/concretecms/commit/38529494626e874e66cb89df2966eef1ce7f0739>

The above fixed worked well for us, we had to adjust the “div.row” class but it worked perfectly.

---

<div class="post-metadata">

### Author: ![anon83226287](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@anon83226287](https://forums.concretecms.org/u/anon83226287)
#### Post date: [October 31, 2022, 4:16pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/11 "2022-10-31T16:16:47Z")

</div>

Hi @Chrouglas

Yes, your grid classes seem to be correct. I cannot find out why our theme has no such issues. It works, - even without the fix #10954 mentioned by @vidalthemes.

CMS version 9.1.2 is installed with an empty Elemental theme, then our custom theme is installed.

---

<div class="post-metadata">

### Author: ![Chrouglas](https://forums.concretecms.org/user_avatar/forums.concretecms.org/chrouglas/32/4951_2.png) [@Chrouglas](https://forums.concretecms.org/u/Chrouglas)
#### Post date: [October 31, 2022, 5:23pm UTC](https://forums.concretecms.org/t/add-layout-container-issues/3281/12 "2022-10-31T17:23:46Z")

</div>

> <https://github.com/concretecms/concretecms/commit/38529494626e874e66cb89df2966eef1ce7f0739>

That did it. Thanks all.
