0

What I want to do is to change the layout(CSS) of the pop-up that appears when hovering over a toolbarbutton in Leaflet.

I tried to look through all the elements by inspecting the toolbar-objects, as well as reading the documentation but still couldn't find it.

Perhaps I am missing something obvious, but I would appreciate any help I could get! Thank you in advance.

MariSk
  • 1
  • 3
  • This appears to be using the [title](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title) attribute, in which case there is no CSS class and it can't be styled to my knowledge – Matt Aug 03 '20 at 09:22
  • Does this answer your question? [How to change the style of the title attribute inside an anchor tag?](https://stackoverflow.com/questions/2011142/how-to-change-the-style-of-the-title-attribute-inside-an-anchor-tag) – Matt Aug 03 '20 at 09:30

1 Answers1

1

The element you are hovering over seems to have a "title" attribute. Therefore, no css class here and can't be styles as per my knowledge. Correct me if I am wrong.

About7Codes
  • 114
  • 3
  • 1
    You seem to be right; however, there are hacks, see https://stackoverflow.com/questions/2011142/how-to-change-the-style-of-the-title-attribute-inside-an-anchor-tag – IvanSanchez Aug 03 '20 at 09:59