Hi! Is it possible to remove infobox close button, or replace it by an image? I’ve successfully placed an icon-font, but can’t remove the “x” without removing everything… Tkx
The close button styling should be in mappress.css as ‘.mapp-ib-close’. The plugin uses that class and normally prints an “x”. You could probably remove it by setting it to ‘display:none’.
Hi, tkx for the feedback. If I do display:none, also the icon-font is removed… The ideal situation was to remove the “X” from the DIV, either by template or by javascript. From CSS I haven’t found any solution (only getting the text transparent, but the X is still there)…
Sorry, but the “X” isn’t configurable, it’s hardcoded into the javascript. You can only style it.
It may be possible to hide the “X” (set it to the same color as the background, or make it “visibility:hidden”, etc.). Then include your own image inside the main infobox body and use position: to position it in the corner.
Hi, display:none or visibility:hidden will both hide the icon-font… So no solution for now. I think you should consider in the futur to have this configurable via template or something.
There is another question regarding mapp-links and the a links: is it possible to add css classes to the links? Javascript? Via template, doesn’t seem possible.
Hi Chris, thank you for the feedback. I was trying to avoid creating duplicate CSS classes just to cover for the links, because I’m intending to use the buttons I already have. Concerning the “X” I think it could be really useful to be able to define what one wants there. Regards