I have an image on my page hero (https://simipress.com/home/) that is 762px x 1108, centered and set as “full page,” like the cover of a book. As it is too wide for the mobile, I contained it with this code to get the whole image on the phone:
.blog .page-hero {
background-size: contain;
}
Is there a way to move the padding of the page hero up proportionally after 762px to get rid of the empty black space at the bottom of the image?
Here is what I am trying to do:
I know I can uncheck “full page” in the page hero, and then set the padding to 28%/28% on desktop and about 71%/71% on mobile, but then on tablet mode the page hero will no longer be full page. Is there a way to do this without that empty black space and keeping full page on desktop and mobile? Thanks in advance.