• Resolved Loekarin

    (@loekarin)


    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

    (@codeamp)

    Hey @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

    (@loekarin)

    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

    (@codeamp)

    Hey @loekarin

    I’ve just added those to this page:
    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.