Comments 4Dan started the conversationApril 22, 2021 at 7:47pmHi,where can I change the map style of the google maps shown in the event single page or under the agenda view?Best Regards 894Zhivko repliedApril 23, 2021 at 8:25amHi,The calendar comes with 5 ready to use theme presets.You can switch to given theme by adding in your shortcode gmap_theme attribute.Example: [stachethemes_ec gmap_theme=silver]Accepted values are: aubergineretronightsilverdark Stachethemes Developer 4Dan repliedApril 23, 2021 at 4:55pmThank you! 4Dan repliedApril 24, 2021 at 7:39pmThese setting is only affecting the Map in Agenda View. How can I change Map style in Single Event page? 894Zhivko repliedApril 26, 2021 at 1:19pmOpen your theme or child-theme functions.php file and add following filter : add_action('stec_single_wp_footer', function() { ?> <script type="text/javascript"> window.stecSingleOptions.gmap_theme = 'silver'; // silver theme </script> <?php}, 9999);You can change 'silver' with any of the available themes.aubergineretronightsilverdark Stachethemes Developer 4Dan repliedApril 26, 2021 at 4:52pmThank you! Works fine!1 Like Sign in to reply ...
Hi,
where can I change the map style of the google maps shown in the event single page or under the agenda view?
Best Regards
Hi,
The calendar comes with 5 ready to use theme presets.
You can switch to given theme by adding in your shortcode gmap_theme attribute.
Example:
Accepted values are:
Stachethemes Developer
Thank you!
These setting is only affecting the Map in Agenda View. How can I change Map style in Single Event page?
Open your theme or child-theme functions.php file and add following filter :
You can change 'silver' with any of the available themes.
Stachethemes Developer
Thank you! Works fine!