Root padding is missing in the editor
-
Is there any way to fix this before it is fixed directly in the plugin?
-
Hi @gyurmey could you please provide a link to your site where I can see the issue directly? I may be able to provide a workaround, but I’ll first need to see the problem in order to do so. Cheers.
@gyurmey Your comment was not published, while it is OK to send link to your site – https://rikes-back-pamu.instawp.xyz/differences-between-editor-and-frontend/
Please do not offer to log in on to your site backend@fierevere, @zoonini, Ok, I understand. In that case, here is the snippet of code used for testing.
Hi @gyurmey – while there isn’t a quick fix to adding padding in the editor, you could give this custom CSS a try to fix the missing front end padding on items with full-width alignment:
/* Add missing global padding */ .has-global-padding > .alignfull { margin-left: inherit; margin-right: inherit; }While the Customizer is not exposed by default when using Site Editing in block themes like Twenty Twenty-Three, you can still access it manually by adding
/wp-admin/customize.phpafter your URL. You can then add custom CSS in the Additional CSS area.Let me know how it goes.
@zoonini, Thanks for your efforts, but it doesn’t solve the problem.
Hey there @gyurmey – on your test page I currently see that you’ve noted padding that’s only missing in the editor, is that correct? These are your notes I see in red:
Missing left padding in editor
Missing inline padding in editor
As I mentioned above, custom CSS only applies to the front end. It does not get applied on the editor side.
Could you please let me know if there are still any padding issues on the front end (public side)? Thanks!
Yes, the padding is missing in the editor. Here are the differences.
Thanks for confirming. As I mentioned earlier, custom CSS only applies to the front end, so it’s not possible to modify padding in the editor that way.
I consulted with a developer who confirmed that there isn’t a simple way to work around the issue, so you’ll need to wait until the fix lands in the block editor itself. Cheers!
Hi @zoonini, I understand and thank you very much for your commitment.
You’re very welcome.
The topic ‘Root padding is missing in the editor’ is closed to new replies.