Title: Set custom width to Container block
Last modified: February 1, 2023

---

# Set custom width to Container block

 *  Resolved [manx89](https://wordpress.org/support/users/manx89/)
 * (@manx89)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/)
 * Hi I would like to set custom width to 1900px for container block. But this is
   imposible. If i set 1900 it is not saving. I can save only 1600px and below. 
   Why is that?
    -  This topic was modified 3 years, 5 months ago by [manx89](https://wordpress.org/support/users/manx89/).

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

 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16437613)
 * Hello [@manx89](https://wordpress.org/support/users/manx89/),
 * Thanks for writing to us.
 * Please head to Settings/Spectra/Settings/Editor Options then you can adjust from
   here: [https://share.getcloudapp.com/z8ul2Lb7](https://share.getcloudapp.com/z8ul2Lb7).
 * Please let us know whether you have any other queries.
 * Regards.
 * Judith.
 *  Thread Starter [manx89](https://wordpress.org/support/users/manx89/)
 * (@manx89)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16437679)
 * Hi,
 * this is not what i mean :). I want to set custom width for container width. But
   i can set max only to 1600px (Screen below). I found that blocks.js in plugin
   files contain code that is responsible for that. Is there any method to change
   this max value other than changing this file?
 * ![](https://i0.wp.com/wyzynaprzemyslowa.pl/strefa-uczestnika/wp-content/uploads/
   2023/02/screen-2.png?ssl=1)
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16478047)
 * Hello [@manx89](https://wordpress.org/support/users/manx89/),
 * Thanks for writing back.
 * You can as well use a filter to adjust the content width. You can add the filter
   below in the child theme’s functions.php and adjust it to the width you would
   want as the default width:
 * **_add\_filter(\’spectra\_global\_content\_width\’, function($width) {
   return
   1620;});
 * Please refer to this guide:[https://wpspectra.com/docs/spectra-default-content-width/](https://wpspectra.com/docs/spectra-default-content-width/).
 * I hope this helps, please let me know whether I missed something, and I will 
   be glad to relook.
 * Regards.
 * Judith.
    -  This reply was modified 3 years, 5 months ago by [BSF - Judith Pete](https://wordpress.org/support/users/judith0/).
 *  Thread Starter [manx89](https://wordpress.org/support/users/manx89/)
 * (@manx89)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16480144)
 * Hi,
 * I am Astra theme user, so I dont need to add this code. But still this is not
   this. I am naot talking about default container width. I am talking about max
   value for custom container width. I can set maximum 1600px, but I need more. 
   I changed blocks.js and replace 1600px to 1920px, but this is not good solution.
   Because after update will by 1600px. Or maybe you can set unlimit pixels for 
   that in next update?
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16524826)
 * Hello [@manx89](https://wordpress.org/support/users/manx89/),
 * Thanks for writing back.
 * I am so sorry for the confusion, I believe you may not be getting clarity from
   my explanation, so I made a brief [screencast](https://share.getcloudapp.com/GGu7vlxn)
   explaining how you can make these changes.
 * Please let me know whether this gives clarity.
 * If not please let us we will ne happy to dig in abit further.
 * Regards.
 * Judith.
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16550600)
 * Hello [@manx89](https://wordpress.org/support/users/manx89/),
 * It’s been a while since we heard from you. I am going to mark this as resolved.
 * Please feel free to open a new thread in case of any other queries.
 * Regards.
 * Judith.

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

The topic ‘Set custom width to Container block’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Legacy – Gutenberg Blocks](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/set-custom-width-to-container-block/#post-16550600)
 * Status: resolved