• Resolved Zougou

    (@zougou)


    Hi,

    I used this code in an older version of the plugin (2.11.4) to change the color of my marker, and it worked.
    [leaflet-marker lat=45.2996984 lng=-0.436936400000036 scrollwheel=”0″ svg=”true” color=”white” iconClass=”fa fa-circle” background=”#22aa86″]

    But in the current version 2.16.0, this code doesn’t seem to work anymore.

    Any idea how to fix this ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bozdoz

    (@bozdoz)

    I’m testing right now on 2.16.0 and that shortcode works fine. I can see a green marker with an icon with those classes on it.

    Thread Starter Zougou

    (@zougou)

    Thanks for your answer. My mystake…
    The marker doesn’t show up in the back-end preview, but on the front-end the marker is displayed.
    But one little problem, the white circle “fa fa-circle” is not centered in the marker form..
    Do you have this too ?

    Plugin Author bozdoz

    (@bozdoz)

    you can add custom css for this in your theme, maybe even in the customizer. maybe just add:

    .fa {
      margin-top: 2px;
      margin-left: 2px;
    }

    or something like that.

    Thread Starter Zougou

    (@zougou)

    Thanks a lot bozboz

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change marker color’ is closed to new replies.