I also experienced the same with WP Castle theme and this is what I have done to fix the bordered images:
/* fix map images */
img.olAlphaImg, img.olTileImage {
border-style: none;
border: none;
}
However I can’t seem to figure out how to fix the the map Framed Cloud Pop-up when you select a marker. Because it uses css image and css positioning instead of css border-radius it is all messed up in the WP Castle theme.
I also tried to just hide the pop-up images to no avail:
/* fix map pop-ups */
.olFramedCloudPopupContent {
background-color: #ffffff;
}
img.olPopup {
visibility: hidden;
}
I think because the Framed Cloud Pop-up border image div has no defined class of its own, I can’t hook into it like I did with img.olAlphaImg and img.olTileImage div to set the image borders to none.
Could someone please advise?
Hi guys
Since version 3, and OpenLayers3, the popup is a simple div element. So it can be easily customized and should not conflict with themes.
Can anybody confirm ?
Hello,
As far as I ma concerned, I stick to version 2 and OpenLayers2. I did many modifications to the original code (eventpost.php|js) that it would not be easy to test it.
Thanks
Ok
Anyway, in others case, it will be easier to customize 🙂
I was away for a little while and when I returned to work more on the map page of my site ( http://www.807area.ca/events/map/ ) it is no longer working? I did change the theme, however I tried it with the old theme and still did not work. As far as I can remember I have not added any new plug-ins however WP and a few plug-ins have been updated since.
Note: it also breaks the calendar widget on the same page.
At this point I cannot investigate the pop-up border div elemenst until the map is working. If I remember correctly the pop-up border divs (the parts that contain/display the border images) did not have a class or ID that is why I could not change it’s behaviour using CSS.
Hi,
have you tried to update the events settings ?
It seems that the seleted map tile does not exists.
Anyone else with the same problem ?
I changed the map background in Event settings and seemed to fix the problem.
Also the map pop-ups are now working properly. Either someone changed how they work or because I changed the theme, the page source is now different.