#wpsl-search-wrap .wpsl-input, #wpsl-search-wrap .wpsl-select-wrap {
margin-bottom: 30px;
}
#wpsl-search-btn {
margin-bottom: 50px;
}
You can add this code to the CSS editor. You can play around with the margin values yourself to adjust it to your needs.
Try to add this code to the functions.php inside your active theme folder to get larger images. Adjust the 200 value to the size of your thumbnails.
add_filter( 'wpsl_thumb_size', 'custom_thumb_size' );
function custom_thumb_size() {
$size = array( 200, 200 );
return $size;
}
There’s no good solution for showing only a single country on page load, and allowing the search to return results from other countries as well.
You could disable the ‘Auto adjust the zoom level to make sure all markers are visible?’ and set a fixed zoom level. Then also and set a start_location in the shortcode like [wpsl start_location=”country-name”]. But this may still, based on how close the markers from the other countries are to the borders show them.
Also categorizing them by country, and then do [wpsl category=”country-name”] will work, but this won’t return any locations from other countries.
-
This reply was modified 4 years, 7 months ago by
Tijmen Smit.
Thread Starter
ruseau
(@ruseau)
Great I edited all, it’s look better now
I have 2 more question
1. how can I make disappear the Start location marker (I don’t need to use it)
2. “Hide the opening hours?” is unselected but I can’t see on my store the hours
How make them appear and where it will appear ?
Best Regards,
How to hide the start marker is explained here.
Can you make sure to flush the transient cache on the WPSL settings page, create a store with new hours and also follow the steps here.
They do by default show up on the single store pages, but not in the search results because of the space they take up. This will be easier after the 3.0 update where it will just be an option that be enabled / disable to include them in the search results.
Thread Starter
ruseau
(@ruseau)
Hi, thanks for all your answer it was very helpfull
my client would like to hide all the store information in the pin and make him clickable (in one click, not open the box description) for open the URL in the description in a new window (example: a Google business link)
Is possible to have a code to put in the function.php for doing that ?
Best Regards
Thread Starter
ruseau
(@ruseau)
Hello,
Dou you have any shortcode for hide the store information on the marker and make him clickable with the URL description link ?
Best Regards