Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1484838

    I’m using a custom image for a map marker and I need smaller sizes for the icon that are offered. I was able to to do this with other support articles and edited the google_maps.php in the main theme folder located here:

    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/

    That was successful. I have a child theme, so I wanted to do put this within the child theme, but I can’t get it to work. I took a copy of the full file, edited what I needed and uploaded it to the Enfold child theme in this location:

    /wp-content/themes/enfold-child/config-templatebuilder/avia-shortcodes/google_maps/

    Is this the correct thing to do for this? How do I get it to work in the Enfold Child theme.

    #1484843

    Hey ronduring,

    Thank you for the inquiry.

    It’s not possible to override shortcode files directly in the child theme. To do this, you will need to register an additional shortcode path in the child theme and place the shortcode files or folders there. Please check the link below for more info.

    https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    Best regards,
    Ismael

    #1484869

    Thanks, that worked great and fixed the issue.

    #1484887

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google Map Marker SIze Customization’ is closed to new replies.