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;
}
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!
Hi there, @Joshua_FitzPatrick
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