Hide the Search Results

Follow

Overview

By default, Store Locator displays search results as a list on the left side of the page. This list has all the information for each store that is entered in the app. 

Search results also appear as a pin on the map with the same store information. 

Depending on how you would like this page to appear for your customers, the left column that shows all the search results can be hidden.

To hide the search results, please follow these steps:

  1. From Shopify's admin, select Apps.

    select apps

  2. Select Store Locator.

    select store locator

  3. Select Settings.

    select settings

  4. Select Display Settings.

    select display settings

  5. Copy and paste this code in the "Page Footer HTML" field: 
    <style>
    /* Hide Search Results - https://boldapps.zendesk.com/hc/en-us/articles/201159543  */
    .addresses{
       width:0;
       padding: 0;
       margin: 0;
    }
    </style>

    paste this code in the Page Footer HTML

  6. Select Save.

    Save

Helpful Links:

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.