Hello, my problem is with background image for section.
On my original display with aspect ratio 16:9 image look ok – but on my second screen with aspect ratio 16:10 images looks a little bit cut. I have top padding 500 and bottom padding 500 in almost every picture. Is it possible to write something more universal than straight numbers.
Do you have any solution how to fix it?
you can try using %’s instead of pixels in the Section padding options.
Work out the ratio of your original image, and divide the vertical by the horizontal. e.g 16:9 = 9 divided by 16 = 56%. If you apply this as padding (28% top and bottom) then this should maintain the original aspect ratio. It may take some tweaking.
Glad to hear that.
That is more complicated, especially if the content is variable in size, you could either estimate the % as you have done. Or target each section with some CSS and then use a calc variable to eliminate the height of the content e.g: