Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #745819

    Hi,

    How do I make a marker icon on google maps larger. The 80 x 80 looks small and doesn’t look as bold as I want it.

    Thanks,

    #747878

    Hi mcraig77!

    Thank you for using Enfold.

    This is possible but you need to modify one of the parent theme files. Edit the config-templatebuilder > aviashortcodes > google_map.php file then look for this code around line 123:

    __('80px * 80px',  'avia_framework' ) =>'80',
    

    Cheers!
    Ismael

    #748135

    Thanks, would i just replace the 80’s? also seeing im editing a main file how would i go about this with a child theme?

    #748145

    Hi!

    Just create a “shortcodes” directory in your child theme folder and copy the shortcode file you want to overwrite (by default all files are located in wp-content/themes/enfold/config-template/builder/avia-shortcodes) from the parent theme directory to the child theme “shortcodes” directory. Then modify the shortcode php code as you like.
    Afterwards insert following code at the very end of the child thrmes functions.php

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.'/shortcodes/');
    
    return $paths;
    }

    Let us know if you need anything else.

    Thanks a lot

    Cheers!
    Basilis

    #748187

    I just tried the changes via @Ismael thread but when i edited them they did nothing. Please advise.

    #748263

    Hey!

    Did you re-upload the marker image? Maybe, the page is cached. Please remove browser cache or hard refresh before checking the page.

    Regards,
    Ismael

    #748264

    yeah, I did… I tried viewing it in a few different browsers as well.

    Please Advise

    #748273

    Hey!

    Alright. Please provide one of the marker image then post the login details here so that we can test it.

    Cheers!
    Ismael

    #748656

    Here ya go!

    #748708

    Hi!

    And your access please?

    Cheers!
    Basilis

    #748724

    ooops here ya go!

    #748814

    Hi!

    We need to access a file via FTP. However, if you have the time, please edit the js > shortcodes.js file, look for this code around line 652:

    if(_self.retina && size > 40) size = 40;			//retina downsize to at least half the px size
    

    Set the value from 40 to 120.

    Cheers!
    Ismael

    #749867

    Hi there I cant seem to change icons on the maps of my installation of enfold? Could it be with he update of the file?

    What should I do to rectify this?

    #750168

    Ahoy @Ismael

    So that worked for the most part. two of the icons is super super tiny now… Also any new icons I add are super tiny….

    Please Advise

    • This reply was modified 7 years, 9 months ago by mcraig77.
    #751517

    Hi,
    Did you try setting the value from 40 to 120? If you set it at 40 and it is too small try 80 or 120.

    Best regards,
    Mike

    #751556

    @mike I put in 100. Please Advise.

    Attached is the file.

    #751615

    Hi,
    Good news, I went to your map locations and found the tiny ones were set to 20*20, so I changed them to 70*70 and they look good now. Hope this solves your issues now :)
    postimage
    postimage

    Best regards,
    Mike

    #1249142

    Hi all.
    I can’t make icon marker bigger. I made the tip described up, but no luck.
    Any workaround?
    Thanks in advance.

    #1249409

    Hi backfolder,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1249608

    Hi Victoria.
    Yes of course.

    • This reply was modified 4 years, 1 month ago by backfolder.
    #1249867

    Hi,
    Sorry for the late reply, please try the solution in this post.

    Best regards,
    Mike

    #1249869

    Thanks Mike!
    But didn’t work… : /

    #1250090
    This reply has been marked as private.
    #1250126

    Hi backfolder,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 24 posts - 1 through 24 (of 24 total)
  • You must be logged in to reply to this topic.