• Resolved gaseous

    (@gaseous)


    Hi!

    first: I love this map plugin! and it works wonderfully.

    I just have a small question: I am showing quite a small map in the sidebar with the current post/pages markers. The popup for the markers is as big as my map.

    I am able to do css and everything, but I seem to be unable to find out which class to modify to get a smaller popup.

    I guess it’s tied to the postthumbnail size maybe? but even for pages without a thumbnail or if I uncheck the thumbnail box in Travelers’ Map settings I get a big box.

    Is that in any way possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Camille V

    (@socrapop)

    Yes it is possible with CSS.

    First solution, you can disable Travelers Map popovers CSS in the general settings page. Then, you will only have the default leaflet popovers which is smaller and you can do whatever you want with that.

    Second solution is to override Travelers map styles:

    • The width of the popover is set with .travelersmap-container .textual-popup .leaflet-popup-content. Be careful, the width is automatically set via javascript by leaflet on popover opening, so you will have to close it and open it again to see your changes ??
    • The height is automatic depending on the height of you content.
    Thread Starter gaseous

    (@gaseous)

    Thanks for answering so quickly!

    I feel completely blind for having missed the css turn off option. So sorry!

    Another question would be: is it possible to show thumbnails only on pages (not on sidebar)? – can I simply to that by adding “display: none;” to the suitable class (backtracking inside the sidebar, etc)?

    I will try your suggestions!

    Thanks again.

    • This reply was modified 2 years, 11 months ago by gaseous.
    Thread Starter gaseous

    (@gaseous)

    Just wanted to say: works wonderfully! thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to change the pop up style?’ is closed to new replies.