So you don’t want to show the search results, only the map with the markers on it?
The easiest way to do this is with CSS.
Add this code to the styles.css inside your active theme folder, and the map should be 100% wide ( untested ).
#wpsl-result-list {
display: none;
}
#wpsl-gmap {
width: 100%;
}
Hi, thanks for the help Tijmen. 🙂
I would like to keep the search results and the map and have them both be as tall as the device it’s being viewed on.
The store locator should adjust itself to always be 100% of the available width. This is what happens when I view your page on my laptop.
How big is your monitor? It’s possible there is a CSS rule loaded by your theme that sets a max-width somewhere that prevents it from scaling, but I can’t that on my laptop screen.
Try a default WP theme, does it still not cover 100% of the screen?
It is 100% of the available width… I’m looking for 100% of the available height though.
The plugin has an option to set, in pixels, how tall the map should be. So I have it set at 650px, but on smaller monitors, the scrollbar for the locations list gets hidden if I scroll all the way down. I was hoping to solve this issue by setting the locations list 100% in height of the browser window at all times.
Thanks!
Hi, just checking in. Any way to get the location results to be full height of the browser window?
Thanks! 🙂