I am using code to “fit” images on dynamic pages, and it is working great:
$w . onReady ( function () {
// Write your JavaScript here
$w ( ‘#teamImage’ ). fitMode = “fit” ;
});
However, often there is significant space left above and below.
-
Is there a way to make elements below “slide up”?
-
Is there a way to make the image itself “slide up”?
Thank you!