Map is too dark

When using the sydney fp: contact widget, the map is too dark. Only when you click on the map button top left the map then has the normal colours.

any css to get rid of that darkness/overlay?

Hello there,

The dark-styled-image added since Sydney version 2.0.x. To disable it, you’d need to edit the JS script written in the fp-contact.php file. You should use a child theme instead of touching the main theme’s file, which will causing you loosing the changes once updating the theme in the future. Follow the steps I’ve explained in this thread, please. Ensure you replicate the correct file – in this case fp-contact.php.

Then find this code block:

    .gmap3({
      	address: '<?php echo esc_html($address); ?>',
      	zoom: 14,
          mapTypeId: "shadeOfGrey",
          mapTypeControlOptions: {
            mapTypeIds: [google.maps.MapTypeId.ROADMAP]
          }
    })

To disable dark overlay, remove these lines:

    mapTypeId: "shadeOfGrey",
    mapTypeControlOptions: {
      mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    } 

Regards,
Kharis

that worked…

thank you

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis