Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Google Map (Homepage) Mobile

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 3 years, 5 months ago.

  • Author
    Posts
  • #33289

    Patsak

    Hi Anna, one short question. Where is googlemap height css for mobile?

    @media all and (min-width:1680px) {
    #googleMap {
    width: 100%;
    height: 450px;
    }

    .gmap_wrapper {
    position: relative;
    float: left;
    width: 100%;
    height:450px;
    }

    }

    I tried to change css above but it did not work.
    I think the google map height in mobile is too long

    Thank you for support

  • #33407

    Anna
    Keymaster

    Hi Patsak,

    Try this

    @media all and (max-width:959px) {
    #googleMap {
    width: 100%;
    height: 590px;
    }
    }

    Replace 590 with a smaller value.

    I only tried this in preview. I hope it works without additional modifications.

    Thank you
    Anna

You must be logged in to reply to this topic.