1 reply [Last post]
polaatx's picture
United States
Last seen: 3 years 9 weeks ago
United States
Timezone: GMT+2
Joined: 2017-05-10
Posts: 3
Points: 5


on this page https://goo.gl/JYeu2z there's a google map in embeded in an iframe.

<iframe style="border: 0;" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d52703.72503342482!2d58.663129170303066!3d34.35091546442272!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f121fdc66f0de93%3A0x97ae5d04f8abd8f!2sGonabad%2C+Razavi+Khorasan+Province%2C+Iran!5e0!3m2!1sen!2sus!4v1493787455772" width="2000" height="300" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

Eventhough the iframe is set to the width of 2000px, it displays as 700px wide because Wordpress puts it inside P tags, which is set to 700px.

Is there a way to tell browser to ignore that 700px constraint and let the iframe appear at 2000px?

I repeatedly have similar issues when I want to some items to appear edge to edge but WP automatically puts them inside P tags so they appear only 700px.

Is there a magic solution to this predicament?

gary.turner's picture
Last seen: 32 min 17 sec ago
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9761
Points: 3843

Already answered

I responded three days ago. Apply the fix I gave you to the relevant html and css. I don't use WP, so cannot give you specifics on procedure. Are there not WP support forums you can query?


If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.