Spent the hour deleting padding and changing to margin
What is the correct way? Is there one?
Why do it one way or another?
Future considerations for theme settings?
Trying to do it the ‘right way’
Spent the hour deleting padding and changing to margin
What is the correct way? Is there one?
Why do it one way or another?
Future considerations for theme settings?
Trying to do it the ‘right way’
It is sort of dependent on what you are doing and to what kind of component.
In general, margins impact spacing on the outside of a component. Padding impacts spacing on the inside of a component.
If you have a container let’s say, and you want more spacing around it, use margin. If you want space around the contents in the container, use padding.
Strictly text - I messed up and used text for all my sites instead of typography
So I’m trying to get it right for future themes and changes for everything site wide…
If you are spacing the text component, use margin. If you are spacing the text, inside of the component, use padding
Thank you!
When the store opens up, I want to use themes that people have made…