Title: Padding or margin
Last modified: April 10, 2021

---

# Padding or margin

 *  Resolved [Loekarin](https://wordpress.org/support/users/loekarin/)
 * (@loekarin)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/padding-or-margin/)
 * I guess it’s a beginners question, but to me the difference between padding and
   margin is not clear. It seems to do the same in my layout. Can you explain to
   me what the difference is, and when to choose either one?

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

 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/padding-or-margin/#post-14301408)
 * Hey [@loekarin](https://wordpress.org/support/users/loekarin/)
 * No problem its easily mixed up.
 * Padding and margin are CSS concepts – margin, is the space around the element,
   and padding is the space inside the element.
 * Try setting a background color, and then playing with both options 🙂
 * Let me know if that makes sense? (I should probably add this to the docs)
 * Best
 *  Thread Starter [Loekarin](https://wordpress.org/support/users/loekarin/)
 * (@loekarin)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/padding-or-margin/#post-14301601)
 * Thanks, that makes sense.
    Yes, please add this to the documentation. Especially
   for beginners, terms need clarification. Same goes for ‘radius’ (I already found
   out that means: making round corners)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/padding-or-margin/#post-14381193)
 * Hey [@loekarin](https://wordpress.org/support/users/loekarin/)
 * I’ve just added those to this page:
    [https://customlayouts.com/documentation/template-elements/](https://customlayouts.com/documentation/template-elements/)
 * I’ll close this for now, but I’m putting on our todo list info tooltips – so 
   you can see a better explanation of what everything does from within the plugin
   itself.
 * Best

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

The topic ‘Padding or margin’ is closed to new replies.

 * ![](https://ps.w.org/custom-layouts/assets/icon-256x256.png?rev=2475457)
 * [Custom Layouts - Post + Product grids made easy](https://wordpress.org/plugins/custom-layouts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-layouts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-layouts/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-layouts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-layouts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-layouts/reviews/)

## Tags

 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)

 * 3 replies
 * 2 participants
 * Last reply from: [Code Amp](https://wordpress.org/support/users/codeamp/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/padding-or-margin/#post-14381193)
 * Status: resolved