Margin or padding best practices

Hi,

Are there best practices for margin or padding settings in evolve. I am looking to have a generous amount of left and right space on either side of my content. This works ok, until I preview in tablet and phone portrait mode. In some views, there is far too much space on either side, it looks like a thin column of content in the middle of the screen. I am making sure that I am adjusting the padding and margin for tablet and phone in the settings. I am creating my own Article styles. Can evolve differentiate between landscape and portrait?

Many thanks
Dave

I was having issues with my Articles, Blocks, and components only displaying on the left side of the screen. I had “maximum width” turned off, but everything definitely had a max width that took it only from the left to the middle of the screen on large screens! So frustrating! My coworker figured it out. My articles had left and right padding set to 5 px. If you set your padding to “auto” for left and right, it will center the content in the screen without having to calculate padding widths for each screen size, etc. That fixed it for all screen sizes we can test here.

2 Likes