Different padding for mobile and desktop
-
Hej!
For example, I would like to have a nice section: full-width line, divided in two sections, each of them has its own background color and contains a header and a text.
Here how it looks on desktop:
https://snipboard.io/sCpaYf.jpgTo achieve that I used group block (btw, is it possible to name group block somehow?) stretched to full width and a column block with two equal columns.
https://snipboard.io/jHrCEZ.jpgFor Columns block Block spacing is set to 0. For each column background color is set (and text color for the second column as well).
Now, to achieve a space around heading and text for each column a padding is set to 100px
https://snipboard.io/JFvWho.jpgAs I mentioned before, on a desktop everything is nice and crispy. But it is total disaster on a mobile:
https://snipboard.io/AIlRs2.jpgSo, my question is: how am I supposed to do to avoid this type of issue and have a nice view either on desktop or mobile?
- The topic ‘Different padding for mobile and desktop’ is closed to new replies.