• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Google Maps as Widget Background

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Google Maps as Widget Background

This topic is: not resolved

Tagged: background, google maps, parallax-pro, widget

  • This topic has 7 replies, 5 voices, and was last updated 11 years, 1 month ago by christo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • January 15, 2015 at 11:13 am #137562
    Tom
    Member

    Hi all,

    Does anyone have any good resources for adding Google Maps as a Background, for example I would quite like to try and add Google Maps as a Background to one of the widget areas in the Parallax Pro Theme.

    All the best,
    Tom

    January 30, 2015 at 8:41 am #139044
    Josephine
    Participant

    Just asking myself the same question: how could add a full width google map on my Parallax Pro site. Does no one have an idea about this? I would be very greatfull!

    Thanks,
    Josephine

    January 31, 2015 at 3:16 am #139121
    Carlo
    Member

    Hi Tom and Josephine. Do you want just a screenshot of the map or an interactive map? Also, do you want the text over the top of the map (probably not a good idea if it's an interactive map)?


    Comprehensive, easy to follow Genesis documentation

    January 31, 2015 at 3:33 am #139124
    Josephine
    Participant

    Hi, Carlo I would like an interactive map. A screenshot would be easy 😉

    Josephine

    February 1, 2015 at 7:05 am #139250
    Carlo
    Member

    Hi Josephine. You could grab an iframe from Google Maps, give it a width of 9999 or something that's guaranteed to be larger than any screen size, and drop it into one of your text widgets on your Parallax Pro site.

    Then, in your theme stylesheet, you could restyle that text widget to remove all the margin and padding and make it full width. The iframe, despite it coded to be 9999 pixels wide, should resize itself to the width of the window.

    The above is exactly what I just tried out in my browser inspector and it seems to work well. The only thing is you won't get the parallax effect, because that comes from the CSS background image and an iframe is not an image.

    One more thing I'd like to add. I actually don't think full width google maps are a good idea, because if you're scrolling down the page with your scroll wheel or trackpad, when you hit the map, it will take over the scrolling, and you'll find yourself zooming out the map instead of scrolling down the page. But it's up to you.


    Comprehensive, easy to follow Genesis documentation

    March 5, 2015 at 4:29 pm #143384
    ginabegin
    Member

    Carlo (and the rest of the crew), I hope it's okay that I jump in here since it seems to be on topic. I found a map that is full width and has some interactivity (you can click on landmarks and double click to zoom out; can't figure out how to zoom back out though!). I love the look of it and would like to recreate it in my Cafe Pro theme but can't quite get it. Not sure if this is something that would work for your site, Josephine, but Carlo, maybe you have some tips on how to recreate something like this? I tried to look up the coding, but my map doesn't look nearly as good!

    Map: http://cobblehilldigital.com/contact/

    My page: http://kgshowroom.com/wordpress/ (scroll down the homepage to see my sad attempt. 🙂

    March 6, 2015 at 12:43 am #143405
    Josephine
    Participant

    Sorry for my late reply, I used a small map in the sidebar instead. But thanks for your reply Carlo I probably can use this in a next project. So I would set this map in the last text widget and the scrolling would not be a big problem I guess.

    Josephine

    May 3, 2015 at 1:35 pm #150033
    christo
    Member

    hi everybody
    i've read carefuly all posts about google map and i didn't find out how to manage it.
    It seems to have 2 solutions :
    the one Carlo suggest. I'm working on Cafe pro theme and i couldn't succed to put the iframe in a widget area.
    The other solution is to use WP google map plugin which allow to use a shortcode, but first you need to add some code in your function.php in order to make possible the use of shortcode in a text widget :

    add_filter( 'widget_text', 'shortcode_unautop'); 
    add_filter( 'widget_text', 'do_shortcode');

    But i've got ( also !! ) a problem with that: nothing happens in the widget.
    so... i would like to know if somebody found out a good method for a google map integration.
    Thanks

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble