In block editor, full width blocks are wider than screen width
-
I am experiencing a problem on one inherited website where blocks that are full-width are displaying wider than the screen – 2458.75px pixels on my 1920 x 1080 monitor to be exact. This isn’t a problem on a monitor with a wider screen like 2560px but the people who need to edit the site content do not have monitors that wide and so can’t properly edit their content.
The problem is occuring because div block containers with the attributes
class="wp-block" data-align="full"
has the following styles applied to them in the editor which always result in a width wider than the screen:.editor-styles-wrapper .wp-block[data-align="full"] { position: relative; left: calc( -12.5% - 14px); width: calc( 125% + 116px); max-width: calc( 125% + 115px);
How can I fix this?
The theme is a child theme of twentynineteen. It’s also using the Stackable plugin but I’m not sure if that’s relevant.
Thanks.
- The topic ‘In block editor, full width blocks are wider than screen width’ is closed to new replies.