Hi @norfolkpete, thanks for letting us know. what was the background color you had before and after? Was it transparent before and a color got added? We will take a look at both issues
Thanks,
Nathan
Hi there,
The image was is of a map with transparent background, the colour added was an off white.
It was also odd it resized the image too.
The site is live and well visited so we couldn’t leave it for you to see unfortunately.
Regards, Pete
No problem, that’s helpful. Thanks,
Nathan
Hello @norfolkpete,
If the image had a transparent background before, then that was added with some custom CSS on your side. We did change around the structure of the plugin a bit, so it’s likely that that CSS just needs to be updated for the new structure and class names.
We’re looking into the size issue as well. It only seems to be happening for a few folks, but we’re trying to sort out why that’s happening so we can get it addressed.
Let us know if there’s anything else we can help with.
Hi Natalie,
Thanks for your reply.
Ok, on a newer, less visited site we have updated your plugin and can show by example what the issues are.
See here: https://www.fabulouslakedistrict.co.uk/destinations/
The map area under this title: Search where to stay by area
You can see the background. There was no custom CSS on our side to begin with so how come after the update, your plugin is picking up ‘something’ to make this happen?
The size of the map is smaller that we had it.
An update shouldn’t change things to this extent. You suggest CSS on our side.
This and the image size, not an issue before the update and we’ve been using this plugin for well over a year now!
-
This reply was modified 7 years, 4 months ago by
NorfolkUK.
Hello @norfolkpete,
Thank you for sending over the link. I think I can see what’s causing both issues.
There is a setting to select the background color of the image, and that seems to be getting overwritten on the page. I’ll dig into that and get that fixed. I suspect that rather than the background being transparent for you, you had actually just selected colors for that setting that matched the background of the area where you placed the image.
And then I see what’s causing the sizing issue and why it’s affecting only some folks. It looks like it impacts images where there are only URL hotspots. I’ll get that fixed as well and we’ll release an update ASAP.
Thanks for bearing with us. We completely rewrote the front end of the plugin from scratch to address some performance and cross browser issues and to bring it up to date with the latest best practice web technologies. It’s a huge improvement to the plugin overall, but there are a few bugs and issues to work out. I think we should be able to get out a release that addresses both these issues tomorrow.
–Natalie
Hi @norfolkpete, we’ve just released an update v1.8.2 which should fix the issues you saw during the last update. Sorry for the hassle and thanks for letting us know about the issue. Please let us know if it works for you or if it needs any further adjustment.
Thanks,
Nathan
Hi there,
Many thanks for the update 🙂
All great, just updated. Sure we have to actually add a background colour now and the sizing issue sorted.
One small thing. The label that appears on hover, you’ve changed it so it appears on the handle or main anchor point, rather than where your cursor is.
One many of our rather complicated hover shapes the anchor point isn’t in the middle and we can’t seem to move it now, it acts as a handle once the shape is saved.
How do we get rid of the hover label all together?
See here: https://www.fabulouslakedistrict.co.uk/destinations/
The map.
They are not needed and we can’t move them, and I can’t find any CSS to display:none.
Many thanks again, appreciate it 🙂
Hello @norfolkpete,
You’ll find the CSS you need to hide the tooltips in our helpful CSS snippets page here: https://wpdrawattention.com/document/helpful-css-snippets/
body .leaflet-pane.leaflet-tooltip-pane {
display: none;
}
Hey Natalie,
Thank you very much for this, it worked a treat.
Many thanks 👍🏻
Regards, Pete