Hide location list

Add this code to the Custom CSS field on the Style tab of your Store Locator widget’s settings:

.global-styles,
[class*="desktop-layout__Sidebar-sc-"],
[class*="mobile-layout__Directory-sc-"] {
display: none !important;
}

On mobile, this does not seem to work. It just shows a blank page until you click “view on map.” Do you have code that makes this work on mobile? Thanks!

1 Like

Hi there, @Joshua_FitzPatrick :wave:

Apologies for the delayed response! I was on vacation and couldn’t reply to you earlier. Here is the solution for your case - Hide sidebar on desktop and location list on mobile