Layer on top of Openstreetmap (classic map embed)

Hello
i want to have a black layer (see through) on top of my map. what is the code?

greetings

Hi Thibaud,

You can try adding a class to your map element

Then add this in Theme Options > CSS

.my-map .x-map-inner:before {
    content: "";
    background-color: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    opacity: 0.3;
}

Hope this helps

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.