That img tag has a class attribute, so why don’t use .wp-image-39 to set a new value for the object-fit property? You can set object-fit to contain, instead of cover like this:
.wp-image-39 {
object-fit: contain !important;
object-position: 30% 3%;
max-width: none;
position: absolute;
top: 0px;
left: 0px;
width: 460px;
height: 732px;
overflow: hidden;
pointer-events: none;
margin-top: -15px;
transform: translate3d(0px, 130px, 0px);
}
That should do the trick. But of course, you would have re-style entire hero image to suit your needs.
-
This reply was modified 6 years, 5 months ago by emmanuel242.