Support » Plugin: Flexible Map » Height in responsive layout

  • Dear All,

    I want to make the map responsive. I have done, as suggested in previous posts, the width equal to 100% but, when I also select the height of the map equal to 100%, I get no map. It’s like that the 100% height means 0px.

    Do you know how could I fix it? It is fault of the template? Sorry, I’m pretty noob on this…

    Thanks!

    https://wordpress.org/plugins/wp-flexible-map/

Viewing 1 replies (of 1 total)
  • Plugin Author webaware

    (@webaware)

    G’day Solimyr,

    The question is, 100% of what? Well, it’s outer container. Unless you tell the outer container how high it has to be, it’ll be the height of its contents, namely the map div. Chicken vs egg, answer = 0px.

    You need to set the height of the container (e.g. #content in many themes) so that the map can expand to fill the content. Here’s some discussion about that:

    http://stackoverflow.com/q/25238/911083

    cheers,
    Ross

Viewing 1 replies (of 1 total)
  • The topic ‘Height in responsive layout’ is closed to new replies.