How to enlarge map in Contact section?

Discussion in 'BusinessGrow One Page WordPress Theme' started by cecomputerexpertise, Dec 2, 2013.

Thread Status:
Not open for further replies.
  1. cecomputerexpertise

    cecomputerexpertise New Member

    Joined:
    Nov 26, 2013
    Messages:
    4
    Likes Received:
    1
    I would like t0 show a larger map in the Contact section of the main page. I tried to alter the size of the .map_inner attribute through custom CSS, but although it makes the frame larger, it doesn't make the map itself any larger.

    Modifying the iframe code copied from Google Maps doesn't make any difference either.

    How can I accomplish displaying a larger the map?

    Thanks in advance for your answer.
     
  2. gwindylyn

    gwindylyn Member

    Joined:
    Mar 16, 2013
    Messages:
    47
    Likes Received:
    1
    So I ran into this same problem. I fixed it by adding the following custom CSS:

    .map_inner {
    max-height: none;
    max-width: none;
    height: 500px;
    }

    .map_inner iframe {
    max-height: none;
    max-width: none;
    height: 100%;
    }

    Obviously the first height is whatever number you want. Changing the iframe height in the Google Maps code made no difference.

    Hope that helps!
     
    cecomputerexpertise likes this.
  3. cecomputerexpertise

    cecomputerexpertise New Member

    Joined:
    Nov 26, 2013
    Messages:
    4
    Likes Received:
    1
    Thanks for your reply. This certainly did the trick!

    Glad we are able to help each other out making adjustments to the template to get our sites to look and behave exactly like we want it to.

    I think Inkthemes did a great job with designing this template, but in all honesty it isn't perfect (yet). Perhaps some of the changes we have done so far can be included in a future release of this theme.
     
Thread Status:
Not open for further replies.

Share This Page