• Hello there, I successfully set up WPSL with a few customizations: individual shop icons, show shop picture in info window, fix the thumbnail size, show categories in the list. All fine so far.

    But if you look at our test page you will see the shop picture is also shown in the search result list and it is not looking fine.

    I had to add the CCS code as described at https://wpstorelocator.co/document/wpsl_thumb_size/ because of an empty space without that code. Thumbnail size is 200 x 96, same as in WP media settings.

    How can I fix the pictures in search result list or remove them from the list?

    PS. Here is another WPSL test page on our site, different layout, same problems.
    https://hanfjournal.de/cannafinder-test/

    Thanks for any advice!

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

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

    (@tijmensmit)

    It looks like the dimensions you provided through the wpsl_thumb_size are in the wrong order. It looks like you set the height to 200, and the width to 96. So if you reverse the numbers, it should look fine.

    Hiding the image can be done through CSS.

    Just add this code to the stlye(s).css in your active theme folder.

    .wpsl-store-thumb { display: none; }

    • This reply was modified 6 years, 7 months ago by Tijmen Smit.
    • This reply was modified 6 years, 7 months ago by Tijmen Smit.
    Thread Starter w-sky

    (@w-sky)

    Oh well. I was quite sure… actually, the code is now:

    $size = array( 96, 200 );

    it was the other way round before and it is looking fine now. Seems to be y,x not x,y.

    Thanks! I have got a few more questions more but I’ll open a new topic.

    Thread Starter w-sky

    (@w-sky)

    Sorry I am opening this again, because there actually seems to be a bug!

    Now having set the array as above, the thumbnail in search results is 200×96 accordingly, but in the info window it is scaled to 96px × 46px

    With array( 200, 90 ) it was fine in the info window at 200×90 but in search list scaled to 90×200.

    Also, there is a problem with the Firefox browser (v59.0.2). The thumbnail should be on top of the shop name and address. It is alright in Chrome browser, but in Firefox the thumbnail is overlapping the shop name and address.

    See screenshot showing both browsers:
    https://www.dropbox.com/s/7j36jrux92icioa/Screenshot%20WPSL%20Firefox-Chrome.png?dl=0

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide or fix shop picture in search result list’ is closed to new replies.