Support » Plugin: WP Store Locator » Map doesn`t show in tab

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    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>

    Thread Starter sw939

    (@sw939)

    Thank you!
    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?
    Thanks

    Thread Starter sw939

    (@sw939)

    I change here, but after that tab doesn`t open 🙁
    https://goo.gl/P7hkWz

    Plugin Author Tijmen Smit

    (@tijmensmit)

    What’s the URL? Are there any JS errors?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Map doesn`t show in tab’ is closed to new replies.