Saturday, October 16, 2021

Instagram Embed fluid width

 Add this to your css file:

.instagram-media {

    max-width: 100% !important;

    width: 100% !important;

    min-width: auto !important;

}

Good thread here:

  • https://theme.co/forum/t/instagram-embeds-not-sizing-properly-on-mobile/60299/12


Good resources:

  • http://embedresponsively.com/
  • http://fitvidsjs.com/

No comments:

Post a Comment