WordPress.org

Ready to get started?Download WordPress

Forums

OSM - OpenStreetMap
[Plugin: OSM] Popup issue (6 posts)

  1. bennos
    Member
    Posted 2 years ago #

    Hi,

    when using the markers my popups are not rendered properly. There is no visual connection to the marker, the closing "X" is outside the popup and thumbnails inside the popup are distorted.
    This happens when i insert text with m_txt_01="Halo Test" and using Custom Fields. Firebug is not complaining about anything missing, so i guess it's something with the Openlayers.Popup. Any hint on how to change it to show nice popups?

    Cheers
    Benjamin

    http://wordpress.org/extend/plugins/osm/

  2. photoweblog
    Member
    Plugin Author

    Posted 2 years ago #

    Probably there is a "style conflict" between your WP-Theme and the OpenLayers popup. Posting a link to your blog with this issue is simplifying to find a solution with Firebug.

  3. bennos
    Member
    Posted 2 years ago #

    You can see a map on http://bit.ly/AsQXzn. It is not the Shadowbox because i tested that as you can see on these screenshots:
    http://i2.lulzimg.com/1c1d025c37.png
    http://i2.lulzimg.com/527fc2d7c0.png

  4. bennos
    Member
    Posted 2 years ago #

    I tested now with the default theme, where the popup looks ok. But still there are some problems with the inserted picture as you can see in the screenshots:

    thumb in default theme
    http://i2.lulzimg.com/d44e86e77c.png

    with some text
    http://i2.lulzimg.com/8617f55510.png

    with <br/> after text
    http://i2.lulzimg.com/3a41bb3da3.png

    only text
    http://i2.lulzimg.com/99240fd9d1.png

    I am trying to debug with FireBug but I don't know exactly how to resolve the style conflict. Any help appreciated.

  5. photoweblog
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    I have added a CSS file in the new OSM-version, so there is a central place to modify the style of osm map if needed.

  6. bennos
    Member
    Posted 2 years ago #

    Hi,

    first off thank you for the CSS file.

    I found the problem with my Theme: in the CSS, images are defined with max-width:100%; which disables the display of the borders around the popups. I solved it with max-width:none;

    The only problem is, that the new CSS file is still overwritten by the theme. Adding the property to line 680 in the osm.php finally solved the problem.

    Cheers,
    b

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags