Okay
  Public Ticket #329602
Google Map doesn't show in div
Closed

Comments

  • Nik started the conversation

    Hi. I want to display a Google Map (using JavaScript in a plugin I wrote) in a \'my-map-canvas\' div nested inside a [one_half] column.

    I found elsewhere that the map will not show in this div if the parent div (defined by the shortcode [one_half] in this case, I guess) has no size set.

    How should I solve this? Please take me by the hand, I\'m not really CSS-savvy.

    Thanks!

  •  1,973
    Support replied

    Hi, Check if there are any js errors in the console (chrome or firefox) looks more like an initialization error rather than visbility

    to be sure you can add styles for the div in theme options -> Styling Options -> Custom CSS 

    such us 

    display: block

    thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Nik replied

    Nah. Thanks anyway.