Iframe integration display

We have 4 iframes on a hubspot webpage. These iframes display Carto maps that are interactive. We have the height defined and width is 100%. Our originals displayed just fine but when we made some edits to the maps themselves and using the same iframe format they do not display as wide as they did before. Any ideas on how to get the new iframes to go wider?

Hey @PSchmidt3

Still working on this? Do you have a link with these embeds on them so we can see how it is working? Any code you could share as well would be nice :slightly_smiling_face:

@jonchim might be able to help with those additional resources.

Hey @PSchmidt3 I’m thinking wrapping the iframe embed in a div should do the trick!, I use this resource for my embeds that comes in handy https://embedresponsively.com/

Here’s an attached example, feel free to send over your code and we can take a closer look if it doesn’t work.

<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='http://alistapart.com/article/responsive-web-design/' style='border:0'></iframe></div>