Support » Plugin: WP Store Locator » Map doesn`t show in tab
5 years, 8 months ago
On single page is OK, but in tab (woocommerce) a map doesn`t show.
Single page: https://goo.gl/IAvMvG
And in tab: https://goo.gl/5LdWMR
What is problem?
Google Maps itself doesn’t work that well in tabs, unless you force it to render the map again.
The plugin already contains code to make this happen, but the relevant code only runs if you set the href value of the tab to wpsl-map-tab. So the tab link needs to be like this.
<a href="#wpsl-map-tab">My Tab</a>
I have href value in my tab #tab-additional_tab and I don’t know how to change it in the theme.
Can I change #wpsl-map-tab to #tab-additional_tab in the plugin? And where I can do it?
I change here, but after that tab doesn`t open 🙁
What’s the URL? Are there any JS errors?