Hub Hack: Stop Images from Stretching on Mobile Devices


Use this Custom Code snippet as a fix if your Hub's images are getting stretched when viewed on mobile devices.


Hub Hacks are NOT official Uberflip features. They may not work on all Hubs, or may cause unexpected behavior. Before implementing a Hub Hack on a production Hub, we strongly recommending testing it in a safe environment (such as a staging Hub) if possible.

Uberflip Support is not able to help troubleshoot issues with Hub Hacks: if a Hub Hack is not working correctly in your Hub, Uberflip Support can only help you to disable it.


  • Type: CSS
  • Placement: Head
  • Notes: Can be placed in the Custom Code on individual Items if needed.



.img {height: auto}


0 out of 0 found this helpful



Please sign in to leave a comment.