Twitter Embed: Full Width?

Posted in: Newsmag
Post count: 21

Hi all 🙂

This isn’t exactly a theme-specific issue, but I’m hoping there may be a theme-specific fix – does anyone have an idea as to how to display a Twitter embed in a Newsmag post at 100% width?

TIA!

Post count: 35449

Hi,
I think you are referring to this space – https://i.imgur.com/06C5uU2.png This is because the Twitter embed iframe has by default width: 550px; And for this usually the themes can not control it, also I’m not sure if this can be resolved only with css, because that is an iframe, I think that it will also need some javascript.
Thank you!

Post count: 21

Thanks Calin!

If anyone has some fancy javascript that would do the trick, please feel free to share it 😀

Post count: 35449

I tried with some code but this seems to work ok if you want to make the embed smaller but unfortunately not if you want to make it bigger/full width.
If I find something that helps, I will let you know.

Post count: 21

Thanks Calin!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.