• Hi Support,

    I’m looking a way to improve the CSS of the plugin

    https://prnt.sc/1q692vf

    how can I add :

    1 . 30px to the radius bar
    2 . 50px to the search button
    3 . define the images with 100×100 px

    I’ve already tried for the 3. :

    .wpsl-store-thumb {
    height: 100px !important;
    width: 100px !important;
    }

    not working

    Another question, how can I do if i have 10 store in one country and 1 in an other but I want to see my plugin focus on the 10 store at the beggining and don’t see the other (who generate a world map and not a country map)

    Best Regards

    The page I need help with: [log in to see the link]

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

    (@tijmensmit)

    #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 3 years, 3 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,

    Plugin Author Tijmen Smit

    (@tijmensmit)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS Help’ is closed to new replies.