Hide Search Results & Remove Address Section

Created by Brett Mikulik, Modified on Mon, 07 Nov 2022 at 03:12 PM by Brett Mikulik

Overview

Store Locator displays your customer's search results as a list with all the information for each store that you've entered into the app.

With CSS code however, you can hide the search results and address section from your customer's view.

To hide the search results and address section, please follow the steps below.


Setup

  1. From the Shopify admin, select Apps.
  2. Select Store Locator.
  3. Select Settings.
  4. Select Display Settings.

    select display settings

  5. Copy and paste this code into 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.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article