If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

CherryFramework 4. How to apply Google map custom style

This tutorial is going to show you how to change the default style of the Google map in the CherryFramework 4 based templates.

Google maps have various skins. Let’s check how to change the Light Monochrome map theme to the Midnight Commander theme.

CherryFramework_4._How_to_apply_Google_map_custom_style-1

You’ll need to perform the following steps in order to apply Google map custom style:

  1. Go to the Snazzy Maps page and pick up any custom style, for example, Midnight Commander.

  2. Copy the JavaScript Style Array. It’s a JSON code that contains the style’s information.

    CherryFramework_4._How_to_apply_Google_map_custom_style-2

  3. Go to the wp-content/themes/themeXXXXX/assets/ directory and create a new folder named googlemap.

  4. Create a new file called, e.g., midnight_commander.json and paste the copied JSON code there. You should use the same name for the file as the name of the map theme, all letters lowercase, words separated by underscores.

    CherryFramework_4._How_to_apply_Google_map_custom_style-3

  5. Open the page that includes the Google map with the WordPress editor, find the cherry_google_map shortcode and change the map_style attribute to the name of the JSON file without the .json extension.

    CherryFramework_4._How_to_apply_Google_map_custom_style-4

  6. Update and reload the Contacts page. The new Google map style has been successfully applied.

    CherryFramework_4._How_to_apply_Google_map_custom_style-5

Feel free to check detailed video tutorial below.

CherryFramework 4. How to apply Google map custom style