Top

Contents in Header Bar not Lining up Properly

The contents in the header bar can be misaligned in Retina and other themes as a result of the themes input styling affecting the styling of the input tags in the Store Locator Widget. To fix the issue, follow these steps:

  1. From "Shopify Admin", select Online Store.

    Online Store 

  2. Select Actions.

    Actions 

  3. Select Edit code.

    Edit code 

  4. Under "Assets", select your theme's main CSS file.

    Note: This will vary by theme and could be something like theme.scss.liquid.

    select your main css file 

  5. Copy and paste this code to the end of the file:
    .search_bar select, .search_bar input {
    display: inline !important;
    }
  6. Select Save.

    select save

That's it!

If the width and padding of the input fields are also affected, adding this CSS could fix it:

.main_search_label {
 width: auto !important; 
}

.search_bar #within_distance {
 width: 90px !important;
}

.search_bar #limit {
 width: 62px !important;
}

Next Steps