bennos
Member
Posted 3 months 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/
photoweblog
Member
Posted 3 months 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.
bennos
Member
Posted 3 months 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
bennos
Member
Posted 3 months 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.
photoweblog
Member
Posted 3 months 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.
bennos
Member
Posted 3 months 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