Forum Replies Created
-
AuthorPosts
-
November 18, 2019 at 8:46 am in reply to: Category filter icons display as insecure http, rest of site is https #56099
Hi Jennifer,
Thank you for getting in touch, we do appreciate your time.
I had a look at your map page and I can confirm that all icons loaded by our plugin are currently being loaded via ‘https’ and should not cause any mixed content notices.
With that said, I looked into this a bit further and I believe I may have found the cause of the issue.
I found the following custom JavaScript present on your website:
$(window).bind("load", function() { $("#wpgmza_cat_checkbox_0").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/06/1x1.png' style='height:32px;width:1px;' />"); $("#wpgmza_cat_checkbox_1").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/biomass-1.png' alt='Biomass' />"); $("#wpgmza_cat_checkbox_2").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/caes.png' alt='CAES' style='padding: 0 4px 0 2px;' />"); $("#wpgmza_cat_checkbox_3").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/cogen2.png' alt='Cogeneration' style='padding: 0 3px 0 2px;' />"); $("#wpgmza_cat_checkbox_4").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/06/1464927812_database.png' alt='Fuel Cell' style='padding:6px 4px 2px;' />"); $("#wpgmza_cat_checkbox_5").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/geothermal-1.png' alt='Geothermal' />"); $("#wpgmza_cat_checkbox_6").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/wind.png' alt='Offshore Wind' />"); $("#wpgmza_cat_checkbox_7").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/hydro-1.png' alt='Hydro' />"); $("#wpgmza_cat_checkbox_8").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/solar.png' alt='Solar' />"); $("#wpgmza_cat_checkbox_9").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/transmission-1.png' alt='Transmission' style='padding: 0 2px 0 2px;' />"); $("#wpgmza_cat_checkbox_10").after("<img src='http://solasenergyconsulting.com/wp/wp-content/uploads/2016/05/wind.png' alt='Wind' />");
As seen above, this makes use of the ‘http’ protocol instead of the required ‘https’ alternative.
Could I ask you to check Maps -> Settings -> Advanced -> within the custom JavaScript box to determine if this code was added to our scripts container?
If so, simply replacing each instance of ‘http’ with ‘https’ instead, should resolve the issue.
I hope this helps?
No problem at all! Happy I could help! 🙂
Please do let me know if you ever need anything else.
Have a great day further.
Hi there,
No problem at all, happy to help wherever possible.
Please try adding the following CSS to your site:
.hka-school-map .wpgmza_map .gm-style .gm-style-iw-c{ padding: 0 !important; } .hka-school-map .wpgmza-infowindow{ width: 230px !important; padding-left: 20px !important; padding-bottom: 20px !important; padding-top: 10px !important; }
I believe this should centre the info-windows without altering any other structures.
I hope this helps?
Hi again,
Fantastic news, so glad to hear the code worked as expected.
I had a look at the site and found the cause of the map tiles not displaying as intended.
It appears it is as a result of the following CSS:
.hka-school-map .wpgmza_map .gm-style div { max-width: 250px !important; }
Removing this locally resolved the issue on my side. Could I ask you to remove this CSS in an attempt to resolve it permanently?
We can then look into what the CSS was intended for and I can help you create a new bit of CSS to achieve the desired result. 🙂
Looking forward to hearing back from you.
Hi again,
Good to hear from you again! 🙂
I am glad to hear you have gone live, the site looks great!
I believe adding the following code to your custom JavaScript block should hide the marker listing when no results are found:
jQuery(window).on('markerlistingupdated.wpgmza', function(){ if(jQuery('.wpgmaps_blist_row').length == 0){ jQuery('.wpgmza_marker_list_class').hide(); } });
I hope this helps?
Kind Regards,
Dylan AutyHi there,
Thank you for confirming, I do appreciate your time.
Yes, this functionality is available in the latest basic/pro combination (version 8) and should function as expected.
I hope this helps?
Hi there,
Thank you for reaching out to us, we do appreciate your time.
Yes, version 8 of the basic and pro have been released recently.
Could I ask you to confirm if you are referring to the feature shown here: https://www.wpgmaps.com/demo/near-vicinity-markers/
I look forward to hearing back from you.
This reply has been marked as private.This reply has been marked as private.Hi Tamara,
Only a pleasure! So glad I could help.
Have a nice day further. 🙂
Hi Tamara,
Thank you for getting back to me, I do appreciate your time.
I believe the following custom scripts will help you achieve the needed result.
Please add the following custom JavaScript to your site:
jQuery('body').on('click', '.wpgmaps_blist_row', function(){ jQuery('.wpgmaps_blist_row').removeClass('wpgm_active_item'); jQuery(this).addClass('wpgm_active_item'); });
Additionally, please add the following custom CSS to your site:
.wpgm_active_item { background: #e82277 !important; color: #fff !important; }
Note: The CSS can be altered to meet your styling requirements and is only meant to serve as an example of what can be achieved.
Both the custom JavaScript and CSS can be added under Maps -> Settings -> Advanced.
I hope this helps?
-
This reply was modified 1 month, 2 weeks ago by
Dylan. Reason: Formatted code into blocks
October 18, 2019 at 8:44 am in reply to: Open links in new window – Toggle switch not working in settings #55112This reply has been marked as private.Hi there,
Thank you for getting in touch, we do appreciate your time.
Could I ask you to provide me with a link to a page where this is present so that I can debug this a bit further?
We are eager to get to the bottom of this as soon as possible.
October 17, 2019 at 9:07 am in reply to: Open links in new window – Toggle switch not working in settings #55054Hi there,
Thank you for getting in touch and my apologies for the trouble experienced.
Could I ask you to confirm what versions of the basic and Pro add-on are currently installed on your website? This can be found within the Plugins area of WordPress.
Alternatively, please provide me with a link to your website (where the map is located) and I will run a few tests to determine the version numbers present on the site.
We are eager to find the cause of this issue and resolve it as soon as possible.
Kind Regards,
Dylan AutyThis reply has been marked as private. -
This reply was modified 1 month, 2 weeks ago by
-
AuthorPosts