Skip to main content

Hide the Search Radius or other sections of the Store Locator

While many options offer a simple toggle on or off we also have simple ways to hide certain elements of the store locator map page using css

Updated yesterday

While many options offer a simple toggle on or off, you can also hide specific elements of the Store Locator using CSS. By default, the Store Locator displays search controls at the top of the map, including:

  • Search Radius (Distance)

  • Search Radius Measurement (Km/Mi)

  • Filter Tags

  • Full Search Form / Header

You can hide any or all of these for a cleaner, more minimal layout.


What this CSS can hide

Depending on what you apply, you can hide:

  • Search Radius

  • Search Radius Measurement

  • Filter Tags

  • Entire Search Form (header + inputs) β†’ store list + map only


Full CSS Snippet (hide individual fields)

/* ============================= */
/* 1. Hide "Search Radius" */
/* ============================= */
label[for="scasl-radius-container"],
#scasl-radius-container {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
line-height: 0 !important;
}

/* ============================= */
/* 2. Hide "Search Radius Measurement" */
/* ============================= */
label[for="scasl-lengthUnit"],
#scasl-lengthUnit {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
line-height: 0 !important;
}

/* ============================= */
/* 3. Hide "Filter Tags" section */
/* ============================= */
label[for="scasl-tag-list-container"],
#scasl-tag-list-container,
.bh-sl-filters-container.scasl-tag {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
line-height: 0 !important;
}

/* ============================= */
/* 4. Collapse empty containers */
/* ============================= */
.scasl-see-more-content .form-input:empty {
display: none !important;
margin: 0 !important;
padding: 0 !important;
}

CSS Snippet (hide entire search header + form)

Use this if you want to remove the entire search UI and show only:

πŸ‘‰ Store list + Map

/* RosePerl custom CSS (2026-04-15) */
/* Hide search form β€” show store list + map only */

#scasl-app-container #page-header {
display: none !important;
}

#scasl-app-container .bh-sl-form-container {
display: none !important;
}

/* End RosePerl */

Where to add this CSS

You can choose one of the following methods depending on your setup.


Option 1: Add via Theme Editor (Custom CSS)

  1. Go to Online Store β†’ Themes

  2. Click Customize

  3. Open Theme settings

  4. Find Custom CSS

  5. Paste your CSS

  6. Click Save


Option 2: Add via theme files (recommended for full control)

  1. Go to Shopify Admin β†’ Online Store β†’ Themes

  2. Click Edit code

  3. Open:

    assets/base.css
  4. Scroll to the bottom

  5. Paste your CSS (either snippet above)

  6. Click Save


Option 3: Apply only on the Store Locator page (Custom Liquid section)

Use this method if you want the CSS to apply only on the page where the Store Locator is installed.

  1. Go to Online Store β†’ Themes β†’ Customize

  2. Open the page template that contains your Store Locator

  3. Click Add section

  4. Select Custom liquid

  5. Paste:

<style>
/* Hide full search header + form */
#scasl-app-container #page-header {
display: none !important;
}

#scasl-app-container .bh-sl-form-container {
display: none !important;
}
</style>
  1. Save the section

  2. Refresh the page

πŸ‘‰ You can also paste the individual field CSS here instead if you only want partial hiding.


Tips

  • Make sure you're editing the correct page template

  • Some themes cache CSS β€” refresh once after saving

  • Custom Liquid is best for page-specific control

  • Theme files are best for global changes


Testing your changes

After saving your changes:

  1. Open your site in a new browser window

  2. Perform a hard refresh:

  • Mac: Cmd + Shift + R

  • Windows: Ctrl + Shift + R

  1. Then view your updated Store Locator page to confirm the changes are applied.


Need help?

Feel free to reach out to support and we can update for you or guide you through any of these steps.
​

Did this answer your question?