Openstreetmap and css transparency
-
Hello,
on the page where i embeded an openstreetmap the map appears with an opacity of 0.2 (so barely readable) before and after accepting the cookies, the rule involved in the generated code is:.lazy-hidden, .entry img.lazy-hidden, img.thumbnail.lazy-hidden { opacity: .2; background-color: #fff; }
i looked but didn’t notice any changes in the class definitions before and after acknowledgement, so i ended up with a ‘nuclear hack’ that i don’t like much, kinda work as at first there is instead of the map a white box underneath the Accept marketing cookies text and when the cookies are accepted we can at last see the map.
#framemap { opacity: 1; }
Second thoughts, i added this code to the css settings in complianz and it seems to work well
.lazy-hidden, .entry img.lazy-hidden, img.thumbnail.lazy-hidden { background: none; }
Any advices?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Openstreetmap and css transparency’ is closed to new replies.