New Landing How can we help? Themeforest Theme Support Dante Google maps api loads but not visible on site, but affects site speed /load time

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #221467
    Linsey
    Member
    Post count: 37

    Hi Support,

    Via our webhost we found out that on certain pages “maps.google.com” is loading (and affects site speed) while this map is not visible on the page. This reduces the load-time of the site. They cannot find where this happens (?) or where this google maps api is hiding in the system. Any idea where it is, or how I can find this hidden and unnecessary api?

    About site speed, when I follow your instructions http://www.swiftideas.com/knowledgebase/load-time-optimization/, do I still need to group CSS style to improve site speed/load time?

    Thanks a lot!

    #221475
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    function sf_enqueue_styles_new(){
    wp_deregister_style('sf-maps');
    wp_dequeue_style( 'sf-maps' );
    }
    add_action('wp_enqueue_scripts', 'sf_enqueue_styles_new', 111); 
    

    Thanks
    Mohammad

    #221580
    Linsey
    Member
    Post count: 37

    Thanks, will ask our webmaster to create a child theme.

    #221592
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I attached child theme to you so please upload and activate and make changes as i told in previous reply.
    Thanks
    Mohammad

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register