đ How to Customize Spacing Around the Slot Picker
Sometimes the slot picker sits a little too close to the elements around it â or feels cramped inside its own container. A few pixels of breathing room can make it look right at home on your Cart page đ
With the Spacing settings in Hoppy Delivery Dates, you can adjust the margins around each part of the picker â separately for Desktop and Mobile.
đ Before You Begin
- Hoppy Delivery Dates is installed and the app embed is enabled in your theme
- The slot picker is visible on your Cart page
- You're logged in to your Shopify admin
Step 1 â Open the Appearance Page
In the app navigation, go to:
Hoppy Delivery Dates â Appearance
Find the Spacing card.
The card has Desktop and Mobile tabs â spacing is configured separately for each device.
Step 2 â Understand the Four Spacing Groups
The card is divided into four groups, and each one controls the margin around a different part of the picker:
- SECTION MARGIN â space around the whole slot picker section
- HEADING MARGIN â space around the heading text (e.g. "When would you like to get this Order?")
- DATE & TIME PICKER MARGIN â space around the date and time input boxes
- ERROR MESSAGE MARGIN â space around error messages (shown when a customer hasn't selected a slot or is below the minimum order value)
Every group has the same four fields, all in pixels:
- Top
- Bottom
- Left
- Right
âšī¸ All fields default to 10 px.
Step 3 â Adjust the Margins
Enter the number of pixels you want in each field â no need to type "px", it's added automatically.
Example
- The picker is touching the checkout button â increase SECTION MARGIN â Top to
24 - The heading feels glued to the date box â increase HEADING MARGIN â Bottom to
16 - On mobile, the picker boxes stretch edge to edge â set DATE & TIME PICKER MARGIN â Left and Right to
0
đĄ Make small changes (5â10 px at a time), save, and check your Cart page â spacing is much easier to judge on the live page than in the fields.
Step 4 â Repeat for Mobile (Optional)
Switch to the Mobile tab if smaller screens need different spacing. Mobile layouts often need tighter margins than desktop, so it's worth a quick check.
Step 5 â Save and Review
Click Save at the top of the page.
Then open your store's Cart page and check the spacing on both desktop and mobile đ
â ī¸ Important Notes
â ī¸ Desktop and Mobile spacing are independent â changing one tab does not affect the other.
âšī¸ These settings only control margins (space outside each element). They don't change the size of the picker itself â for that, see the Slot picker container width setting covered in How to Position the Slot Picker on the Cart Page.
đ Final Result
Once configured successfully:
â The slot picker has comfortable space around it on the Cart page â The heading, date & time boxes, and error messages no longer feel cramped â Desktop and Mobile each get spacing that fits their screen size â¨
Updated on: 20/08/2026
Thank you!