# Drag and Drop width 100%

**URL:** <https://community.hubspot.com/t/drag-and-drop-width-100/93153>\
**Category:** CMS Development\
**Created:** [November 2, 2023, 1:33pm UTC](https://community.hubspot.com/t/drag-and-drop-width-100/93153 "2023-11-02T13:33:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![likwid](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/likwid/32/58551_2.png) [@likwid](https://community.hubspot.com/u/likwid)\
**Post date:** [November 2, 2023, 1:33pm UTC](https://community.hubspot.com/t/drag-and-drop-width-100/93153/1 "2023-11-02T13:33:30Z")

</div>

I am creating a page using the drag and drop templates in the editor. I have CSS set up

.dnd-section {  
max-width:1240px;  
margin:auto  
}

This keeps my content at a reasonable with and centered. However I need the gray background to span 100%. When I make changes to the template it doesn’t seem to reflect the page. Any help or insight would be greatl appreciated.

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/d/fd802247669d36ea37eae7aa2ab0bdd3dd75cde2.png)

Thanks

Mark

---

<div class="post-metadata">

**Author:** ![elizheleva](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/elizheleva/32/51055_2.png) [@elizheleva](https://community.hubspot.com/u/elizheleva)\
**Post date:** [November 2, 2023, 8:44pm UTC](https://community.hubspot.com/t/drag-and-drop-width-100/93153/2 "2023-11-02T20:44:00Z")

</div>

Hi, @likwid ,

you’re missing ; after auto. Can you check your code and see if it’s missing that, too, or it’s disappeared only for here.

For what you know, that might be the problem.

Check and let me know how you get on,

Eli
