Hub Hack: Stop Images from Stretching on Mobile Devices

Follow

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


Warning

Hub Hacks are not official Uberflip features.

Hub Hacks may not work on all Hubs, or may cause unexpected behavior. If you experience issues with a Hub Hack, available support is limited to helping you disable the Hub Hack only.

Important

Hub Hacks are not compatible with Front End V2 Hubs.

If you are not sure if your Hub uses Front End V2, see this article for help.

Details

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

 

Code

<style>
.img {height: auto}
</style>

 

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.