Archived topic
Width of main column of Block Editor in demo video from GenerateBlocks
7 replies · Started by Omak on July 10, 2020
Hello guys! In demo video from https://generateblocks.com/ the main column width of the Gutenberg Editor is much wider than default width (~780 px). Is this done through the plugin?
Hi there,
Not sure if I fully understand.
The container blocks have a width setting:
https://docs.generateblocks.com/article/container-overview/#standalone-block
Does that help?
Hi Leo! You misunderstood. Compare the width of two Gutenberg editors.
1. My block editor: http://joxi.ru/a2XXM5pHDev4k2
2. Your block editor from demo video on GenerateBlocks website (click "Watch Video" button): http://joxi.ru/nAyK7WVijL6wqm
So much empty white space around in the default (narrow) main column of Block Editor. Words are moved to a new line. There is no such thing in demo video from GenerateBlocks website. I assume that in the demo video the author (Tom Usborne?) somehow expanded the main column width of the Block Editor.
It should reflects the container width in the customizer:
https://docs.generatepress.com/article/container-width/
No. The container width in the customizer has nothing to do with the width of Block Editor. Take a look screenshots below, compare the width of container in the frontend and the width of main column of Block Editor. These are not the same containers.
Screenshot 1 (Frontend. The Customizer affects the width): http://joxi.ru/KAgqQ1pIXBPoam
Screenshot 2 (Main column of Gutenberg Editor. The Customizer does not affect the width): http://joxi.ru/YmEMLXEtJK1gYm
In the demo video from GenerateBlocks the width of main column of Gutenberg Editor is much wider than default narrow width.
I assume that the author of video changed the width of the Block editor using this code. Is that so?
No. The container width in the customizer has nothing to do with the width of Block Editor.
That is incorrect - it actually does by default
Please check out the following screenshots:
Narrow container:
https://www.screencast.com/t/oCaUahkOU7
https://www.screencast.com/t/2qoovd3F8jo
Wide container:
https://www.screencast.com/t/ikCf4Y9y4U
https://www.screencast.com/t/QpCzBtPD
Wow! For some reason, my container width (1300 px) in the Customizer doesn’t affect the width of the Block Editor (780 px). I have no clue.
http://joxi.ru/Vm6opD0cjPpqy2
http://joxi.ru/vAWngQ0Tqe0Ly2
Try disabling all plugins and any custom functions to see if there are any plugin conflicts.