• I would like to show all markers in the map but not the info box after first page load. It doesn’t make sense for the user to have detailed information for all locations. However, it DOES make sense to have an overview on the map. Can I somehow show all markers on page load, but the detailed information only after the search box was used? In addition to that, the vertical scroll bar really looks bad. I would like to avoid this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there, and sorry for the delay!

    I don’t quite understand very well your problem… do info boxes show up automatically upon page load? Could you provide us with a URL where you are having these issues so we can take a look?

    As for the vertical scrollbar, you can create a custom store locator template (see documentation) so you can display the store list in any fashion you want, with or without scrollbars, above, below the map… whatever.

    Let me know.
    Regards.

    Thread Starter cutu234

    (@cutu234)

    It’s not really an issue but more a UX thing. Here is the page:

    https://www.agoshop.de/partnersuche/dachreinigung-partner/

    It’s perfect, to have all markers shown on the map. The detailed info below, on the other hand, is not very useful and creates a not so fancy vertical scroll bar. I would rather have only the markers, but no additional info, since this does not provide very much benefit. The users will, most likely, want to have this information after using the search.

    Oh, I understand it now.

    I’m afraid the plugin itself does not have an option for that.

    Theoretically it could be possible to intercept the AJAX call to load the location info and hide it on certain conditions, but it would certainly be a bit tricky and would require modifying the plug-in.

    Regards,

    Thread Starter cutu234

    (@cutu234)

    It would be a very useful addition to make this list optional. It simply does not add very much information and looks quite old-fashioned if the scrollbar appears. A quick and dirty workaround would be an additional CSS class that is added before/after showing the search results. Since the id is always “wpsl-result-list” we can’t do anything useful with CSS. With an additional class, I would set the whole DIV to display:none on first page load and make it visible after the search was used.

    Hi again,

    Yes, hiding the store listing info on load is a feature that makes sense, I will pass it on to the developers for their consideration. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide info boxes on page load’ is closed to new replies.