Viewing 8 replies - 1 through 8 (of 8 total)
  • Floridian12

    (@floridian12)

    Did you try throwing a div around it? Such as <div style="text-align: center;"><iframe src="http://maps.google.com/maps?q=33.773286,-84.296811&num=1&t=m&ie=UTF8&ll=33.773012,-84.29698&spn=0.017837,0.021372&z=14&output=embed" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="250" height="250"></iframe></div>

    Thread Starter gcoleson

    (@gcoleson)

    good idea, but no luck. The same issue happens. You can see the with the div and without on the page and they behave the same. Any other ideas?

    Floridian12

    (@floridian12)

    Is your CSS controlling the width of embedded objects? I just tried using your code on my blog and it worked perfectly.

    Thread Starter gcoleson

    (@gcoleson)

    It looks like wordpress is automatically adding in the div fluid-width-video-wrapper for that section. How would I suppress that or override it?

    .fluid-width-video-wrapper {
    width: 100%;
    position: relative;
    padding: 0;
    }

    Floridian12

    (@floridian12)

    Remove the width: 100% and try

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    margin-top: 0px;

    Or just remove the width: 100%

    Thread Starter gcoleson

    (@gcoleson)

    Where would I find that code? It is not in my style.css. I am a bit new to this level of editing

    Floridian12

    (@floridian12)

    Do you have more than one stylesheet? Or maybe the CSS code is within your header?

    Thread Starter gcoleson

    (@gcoleson)

    I was able to do a trial of what you suggested in Google Chrome by inspecting the element and editing the css right in the browser and it worked

    I think I am having this issue:
    http://wordpress.org/support/topic/plugin-podpress-not-working-on-firefox-browser?replies=16

    I think I need to create a child theme to fix this correctly.

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

The topic ‘Google Map iframe height and width incorrect’ is closed to new replies.