Title: Remove or customize Atomic Block Container default max-width
Last modified: October 23, 2019

---

# Remove or customize Atomic Block Container default max-width

 *  Resolved [in2itivedigital](https://wordpress.org/support/users/in2itivedigital/)
 * (@in2itivedigital)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/)
 * Hi,
 * Is there a way to either remove or customize the default max-width for the AB
   Container “Inside Container Max Width (px)”? I can’t just remove the value entirely
   as if I do, the block breaks giving a “This block contains unexpected or invalid
   content” error when I reload the page on the editor.
 * I need to remove it as it’s making the content/container left aligned on large
   screens, I just need it to be 100vw.
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12074549)
 * I agree – we need a way to remove the inside container max-width.
 * If you manually delete the Max-Width pixel number in the field and save the page,
   the inline styles for the width forced on the block becomes `undefinedpx` — EDIT:
   this error has been logged: [https://github.com/studiopress/atomic-blocks/issues/231](https://github.com/studiopress/atomic-blocks/issues/231)
 * We need a checkbox option or something to specify when we want the inside container
   to take up 100% width without having any constraints.
    -  This reply was modified 6 years, 7 months ago by [alexmustin](https://wordpress.org/support/users/alexmustin/).
    -  This reply was modified 6 years, 7 months ago by [alexmustin](https://wordpress.org/support/users/alexmustin/).
    -  This reply was modified 6 years, 7 months ago by [alexmustin](https://wordpress.org/support/users/alexmustin/).
 *  Plugin Author [atomicblocks](https://wordpress.org/support/users/atomicblocks/)
 * (@atomicblocks)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12080803)
 * Hi there,
 * Looks like we’ll have to make an update to the code to address this. However,
   in the mean time, you can add some CSS to your frontend using the Additional 
   CSS box in the Customizer.
 * We do have the issue logged and will grab it in the next bug fix cycle. Thanks
   for the heads up!
 *  Thread Starter [in2itivedigital](https://wordpress.org/support/users/in2itivedigital/)
 * (@in2itivedigital)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12080943)
 * Hi,
 * I ended adding some CSS to force width: 100vw for the container for now.
 * Thank you for your response.
 *  [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12081490)
 * Good call, [@in2itivedigital](https://wordpress.org/support/users/in2itivedigital/).
 * If anyone else is looking for the CSS code to fix this, it is:
 *     ```
       .wp-block-atomic-blocks-ab-container > .ab-container-inside > .ab-container-content {
           max-width: 100vw !important;
           width: 100vw !important;
       }
       ```
   
 *  Plugin Author [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12220588)
 * Thanks for posting that [@alexmustin](https://wordpress.org/support/users/alexmustin/).
   That’s helpful until we have this fixed in a future update.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove or customize Atomic Block Container default max-width’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/atomic-blocks_ded9f7.svg)
 * [Atomic Blocks - Gutenberg Blocks Collection](https://wordpress.org/plugins/atomic-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/atomic-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/atomic-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/atomic-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/atomic-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/atomic-blocks/reviews/)

 * 5 replies
 * 1 participant
 * Last reply from: [John Parris](https://wordpress.org/support/users/mindctrl/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/remove-or-customize-atomic-block-container-default-max-width/#post-12220588)
 * Status: resolved