• Resolved shustus

    (@shustus)


    Hi,

    Is it possible to oEmbed Instagram posts without captions? I.e., like the one on the right, instead of the left.

    • This topic was modified 10 months, 1 week ago by shustus.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @shustus,

    No, we do not have a setting to hide the captions in the oEmbeds. You can do so using custom CSS. I tested the snippet below and it worked on my setup:

    .Embed .Caption {
    display: none;
    }

    I hope this helps! Please let me know if you have any questions.

      Thread Starter shustus

      (@shustus)

      Thanks for the quick response Nigel! I can adjust the display:none property directly (i.e., by using Chrome’ element browser). But I am not (yet) able to change it using my theme’s style.css. Could be because of the Same-Origin Policy (preventing me to change styles within code from a different domain, in this case instagram.com) – but I am not an expert… I you have more suggestions, I’ll be glad to test them!

      Hi @shustus,

      I’m sorry I overlooked that the CSS for the embed is in an iframe. Unfortunately, this CSS can’t be changed so the embed captions can’t be hidden. Sorry for the inconvenience in missing that.

      Please let me know if you have questions.

      Best Regards,

    Viewing 3 replies - 1 through 3 (of 3 total)

    The topic ‘Show Instagram post without captions’ is closed to new replies.