• Resolved jfken

    (@jfken)


    Hi!

    I have this small website and sometimes I embed an Instagram post.

    It is working when I just paste the link. The problem is I want to set a maximum width, so I try to do it through the html edit of the post after I get the code on Instagram.

    If I try to do it like that, it doesn’t work, I can’t even preview the post, it gets stuck loading.

    It is strange because it has worked in the past, for example in this post:

    https://holaquepasa.com/selena-gomez-justin-bieber-vuelven-estar-juntos/

    Any idea what the problem could be? Maybe I have installed some plugin that interferes?

    Thanks!

    • This topic was modified 6 years, 9 months ago by jfken.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, use this in Additional CSS option

    
    .instagram-media {max-width: 100%!important;}
    

    The instagram embed is an iframe and it has inline style with fixed max-width value of 400px, so we need to use the !important bit to override it.

    Thread Starter jfken

    (@jfken)

    Hi, thanks for your reply.

    I have found another way on the Internet for doing it post by post. But I will try your solution and report today.

    Thread Starter jfken

    (@jfken)

    Hi. It worked, thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem embedding Instagram’ is closed to new replies.