• Resolved b12ookelyn

    (@b12ookelyn)


    I am trying to lay the stores out in two columns under the map for a client. Is there an easy way to do this? I also need the logos to be at least 200×200. After changing them in the CSS to be 200×200 the resolution is not as great even though the original images are at least 225 or 600 in width. Any suggestions on what I could be doing wrong?

    https://wordpress.org/plugins/wp-store-locator/

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

    (@tijmensmit)

    Have you checked the format that is set for the thumbnails under Settings -> Media -> Thumbnail size. By default it is set to 150×150, and if you would then scale that to 200×200 with css it probably doesn’t look that great.

    Changing the thumbnail size there is a setting that is applied to your whole site. So any future thumbnail that are generated would be for example 200×200 instead of 150×150.

    As for the two columns, you can start by selecting the store template on the settings page that will show the results under the map. Then you would have to make some modifications to the /js/wpsl-gmap.js file.

    If you search for ‘storeHtml( response, url )’ you will see a line that starts with ‘html = “<li data-store-id='” + id + “‘>’ near the bottom of the file.

    That is the html used in the store listing. You can place a div inside it containing whatever store data you want, and then use to css to for example float that div to the right side.

Viewing 1 replies (of 1 total)
  • The topic ‘layout under map’ is closed to new replies.