• Resolved sebassg

    (@sebassg)


    Hi Joe,

    Thanks for all your great work and sorry to bother you again but I seem to have a problem with the map_height variable in a shortcode. I am displaying a very small map (200px) and it was working fine until now, but not anymore… Right now, the system seems to ignore any height smaller than a minimum (350 or something like that). Is this normal? Is there a way around? I have tried to bypass this through CSS, but then, the map is not centred anymore (as the CSS acts on the frame but not on the content of the map)… Thanks again. All the best. S.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe

    (@morehawes)

    Hi @sebassg,

    Thank you for reaching out and I’m glad you like the plugin.

    I can confirm this is a bug and will have this fixed in the next release. In the meantime, you can override this yourself by adding the following CSS rule to the map container:

    /* All Maps */
    .waymark-container {
      max-height: 120px;
    }
    
    /* A particular Map */
    #waymark-shortcode-6aea03 {
      max-height: 140px;
    }

    I hope this helps.

    Joe

    Thread Starter sebassg

    (@sebassg)

    Thanks a lot, Joe. I just updated to v.1.1.4 and the issue is solved !

    Thanks again

    Sebastià

    Plugin Author Joe

    (@morehawes)

    Thanks for letting me know, and for your review ?? Translation contributions are insanely appreciated, in-case you speak multiple languages ??

    Cheers,

    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘map_height not working?’ is closed to new replies.