Forums
Home / Plugin: WP Store Locator / Is the map optional?
(@andymacb)
7 years ago
Does the listing functionality work without having to display a map at all?
I’d like to have a search box followed by dealer addresses, but don’t want to show a map.
(@tijmensmit)
Well, the JS code expects the map to be there, but you can easily just hide it with a few lines of CSS code.
#wpsl-gmap { display: none !important; } #wpsl-result-list { width: 100%; margin-right: 0%; }
Add the code to the style(s).css in your active theme folder.
Thanks – yes, I guess that’s what I meant, does the code expect it in my template. I’ll just hide it.
Thanks for the quick response.