Title: Padding and Margin Issue
Last modified: May 23, 2019

---

# Padding and Margin Issue

 *  Resolved [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/)
 * Hi! I like the plugin, but I’m having a big issue with padding and margin settings.
   Right now I’m developing on localhost, and the issue I’m having is every time
   I refresh or re-open a page editor with the section block, all padding and margin
   settings are reset to default. It doesn’t seem to matter how I set them, they
   always reset to 20px. Thoughts? Am I missing something? Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/padding-and-margin-issue/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/padding-and-margin-issue/page/2/?output_format=md)

 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11565808)
 * Hey there,
 * By default the padding and margin are 20px. You can change it from the Inspector
   sidebar in Gutenberg.
 * Are you not able to change them? Let me know.
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11565843)
 * I can change them and the changes take effect when I hit update, but when I reload
   the page edit screen, or open the page in editor again after saving changes (
   leave the editor, and re-enter from any link), the padding and margins for all
   items are reset to 20px and my changes are lost. It looks like the defaults are
   overwriting changes on admin page editor reload.
    -  This reply was modified 7 years ago by [tonykuehn](https://wordpress.org/support/users/tonykuehn/).
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11565854)
 * I should add, I don’t think it’s a plugin conflict either. I tried it with all
   plugins disabled and got the same results.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11565890)
 * That’s weird. Can you try on [https://jurassic.ninja](https://jurassic.ninja)
   and try to reproduce this issue for us? Thank you.
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11565915)
 * Yes, done and done. Exact same issue. Zero plugins installed (including jetpack).
   I took a movie of my screen so you can see exactly what’s happening.
 * [https://www.dropbox.com/s/c5eqxusmt8k0rw5/screengrab_otter.mov?dl=0](https://www.dropbox.com/s/c5eqxusmt8k0rw5/screengrab_otter.mov?dl=0)
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11566661)
 * [@tonykuehn](https://wordpress.org/support/users/tonykuehn/) Yikes, that’s a 
   weird one. You can see this video where I’ve explained how it will work: [https://www.loom.com/share/640de173b77844e08f5e187add58d0c0](https://www.loom.com/share/640de173b77844e08f5e187add58d0c0)
 * It seems to be a bug and we will fix it completely in the next release, and until
   it’s fixed you can see the video to know how to overcome this issue.
 * Thank you for reporting this to us! 🙂
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11566962)
 * We’ve fixed this issue in our development: [https://github.com/Codeinwp/gutenberg-blocks/issues/110](https://github.com/Codeinwp/gutenberg-blocks/issues/110)
 * We will release a new version in the next 24 hours after some testing. Thank 
   you for your help!
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11568772)
 * Thanks! Your temporary fix does seem to work, thanks so much for jumping on this
   issue.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11570417)
 * [@tonykuehn](https://wordpress.org/support/users/tonykuehn/) We’ve fixed the 
   issue. Please update to the latest version of Otter and let us know if it works
   for you. 🙂
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11580931)
 * It appears to be working as expected. Thanks so much for your prompt response
   and for the fix.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [7 years ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-11583567)
 * Glad to be of your help. 🙂
 *  [RodSalm](https://wordpress.org/support/users/rodsalm/)
 * (@rodsalm)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-12132748)
 * Hmmm, I’m running the latest version of Otterblocks, and have tried adjusting
   the margin to 0 in the slider, but am still getting a top margin of 20px that
   overrides and resets each time. Any other solutions?
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-12135831)
 * [@rodsalm](https://wordpress.org/support/users/rodsalm/) For the sake of testing,
   can you make it 1px and see if that works?
 *  Thread Starter [tonykuehn](https://wordpress.org/support/users/tonykuehn/)
 * (@tonykuehn)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-12147159)
 * I noticed this as well. If the values for padding or margin are set to 0, then
   defaults are used (20px) instead. This applies both to linked and un-linked values.
   If I set them to 1, then the input is respected, so it’s clearly an issue with
   how ‘0’ input is being handled.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/padding-and-margin-issue/#post-12149118)
 * Hey [@tonykuehn](https://wordpress.org/support/users/tonykuehn/),
 * Got it! We are pushing a release this weekend, so once that is done we can start
   working on this. In the next (one after this week), we will also introduce some
   way to have a global default so you won’t have to set padding/margin everytime
   you add a block.
 * We’ve released it’s the most painful point of all the users when using Section
   block.
 * What do you think? 🙂

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/padding-and-margin-issue/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/padding-and-margin-issue/page/2/?output_format=md)

The topic ‘Padding and Margin Issue’ is closed to new replies.

 * ![](https://ps.w.org/otter-blocks/assets/icon-256x256.gif?rev=3452114)
 * [Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE](https://wordpress.org/plugins/otter-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otter-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otter-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/otter-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otter-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otter-blocks/reviews/)

 * 17 replies
 * 4 participants
 * Last reply from: [RodSalm](https://wordpress.org/support/users/rodsalm/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/padding-and-margin-issue/page/2/#post-12173582)
 * Status: resolved