Responsive Padding

Dear Themeco Team, how to make padding responsive to diffrent size of screen. For example from Desktop to Smartphone that the padding looks nice. Actually i use padding on a column for example 4 EM so everything looks nice and desktop, but if i look on smartphone the padding is to huge.

Best Regards Roland

Hello @rolandhentschel,

Thanks for writing in!

em will give you a fix value. Please use percentage % instead so that your padding will be responsive in different screen size. Just keep in mind that the measurement is taken with respect to the size of the screen.

Hope this helps.

Thank You i will tryn :slight_smile:

You’re welcome, @rolandhentschel. Just wanted to add here that you can also use VH and VW.

For more details about those units, please see https://www.w3schools.com/cssref/css_units.asp

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.