Home › Forums › Support › Responsive header This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts November 29, 2018 at 11:42 am #744093 Viktor I use the header to display my photographs https://www.phototraces.com/deconstructing-photo/lower-south-desert-outlook-utah/ but it is not responsive. What can I do to make sure it stays responsive. Btw, I disabled the header for small devices. November 29, 2018 at 11:48 am #744097 DavidStaff Customer Support Hi there, if you want to maintain aspect ratio then use % for the padding. You can also set the padding separately for mobile. Personally i use one setting for all by dividing the original image height by its width and use the % ratio as the total top/bottom padding. November 29, 2018 at 12:01 pm #744111 Viktor Dave, thanks, I can see it works, but can not figure out the calculations. If my header image is 1400 x 700, how do I calculate out exact percentage? November 29, 2018 at 12:49 pm #744143 DavidStaff Customer Support Like so = 700(h) / 1400(w) = 0.5 (50%). You can add 25% to both top and bottom padding or 50% to just one of them. If you have content in the header element then that changes matters and will require less padding, and is a little trial and error. November 29, 2018 at 1:20 pm #744167 Viktor It only works if I use Container: Full Width option and not Contained option. It looks if it calculates the heights percentage based on total page width and not based on the Page Hero container width. November 29, 2018 at 1:23 pm #744169 DavidStaff Customer Support Aah yes, my bad – the assumption is that the aperture is 100%. In that instance then the width will be based on the width of the container. November 30, 2018 at 9:33 am #744849 Viktor does it mean I am out of luck if I use Contained option? November 30, 2018 at 9:35 am #744850 DavidStaff Customer Support It shouldn’t be. The ratio should still work. You should try making sure that the original image size has the same width as your container. Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In