Hello,
This is maybe a bit unusual request, but can you please explain to me the “math” behind padding values for Bar 2 in the Adventure Ten header template, which can be found in Design Cloud? Following are the “facts” that I think I understand:
- Background image size is 1440 by 650 pixels (not sure if relevant for padding calculation)
- Bar 2 Font Size is 16px, and Breaking Point is set to 1200px, which I think are the base values for em, rem, vh, vw and % calculation
Bar 2 padding values for top and bottom are the following:
- Top: calc(8rem + 5vw + 35px)
- Bttm: calc(5vw + 45px)
Now, if I understand the base values correctly, related to the Top padding, 8rem is the size of Bar 1, and this is the only value I understand. The rest of the math is totally unclear to me. Also, according to base values, when translated to pixels, the math would be the following:
- Top: 8x16 + 1200x0.05 + 35 = 223px
- Bttm: 1200x0.05 + 45px = 105px
Can you please explain me the “logic” behind the padding calculation? Thank you very much.



