Why does the google map display in a different place to the grey load area?
-
The google map loads, but doesn’t display where the grey load box is, but lower down the page (around the footer area). I believe this is a Jquery load issue, but don’t know how to solve it.
An image of the issue in my browser: https://postimg.org/image/drgew2dlx/2e4d536b/
I have added the following code to functions.php, but it doesn’t seem to help:
function insert_jquery(){ wp_enqueue_script('jquery', false, array(), false, false); } add_filter('wp_enqueue_scripts','insert_jquery',1);
I am placing the google map in my single-event.php with:
<?php echo $EM_Event->output( '{has_category_class} #_LOCATIONMAP {/has_category_class} '); ?>
Any suggestions, please?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Why does the google map display in a different place to the grey load area?’ is closed to new replies.