Store Locator Widget doesn't Look Right on Mobile Devices

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

Overview

Occasionally, some mobile themes may interfere with Store Locator's styling.

This article outlines how to fix any styling issues you may encounter on mobile devices.


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 the following code into the Page Header HTML field:
    <style> 
    @media screen and (max-width: 500px) { 
    .search_bar { 
    margin-top: 500px !important; 
    float: left !important; 
    } 
    </style>

    paste the code

  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