embedded google map in page not sized correctly

Viewing 2 posts - 1 through 2 (of 2 total)
  • #4921

    If I embed a google map in a page it looks like the theme is wrapping it in fluid-width-video-wrapper and the map expands to be as large as the page and does not respect the iframe size settings. See the page below


    Daniel Tara

    This is a side-effect of the responsive layout. I don’t have an efficient solution for this. If you don’t use videos or embedded media you can delete tis line in functions.php:

    $(".entry-attachment, .entry-content").fitVids({ customSelector: "iframe, object, embed"});

    Alternatively you can use a different page template to make the content width narrower.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.