đ How to Position the Slot Picker on the Cart Page
Every theme lays out its Cart page a little differently â so the slot picker should sit exactly where it makes sense for your store đ
With the Position settings in Hoppy Delivery Dates, you can control where the slot picker appears on the Cart page, how it's aligned, and how wide it is â separately for Desktop and Mobile.
đ Before You Begin
- Hoppy Delivery Dates is installed and the app embed is enabled in your theme
- You're logged in to your Shopify admin
- (Optional) If you plan to use a custom CSS selector, it helps to know your theme's HTML structure â your browser's Inspect tool is your friend here đ
Step 1 â Open the Appearance Page
In the app navigation, go to:
Hoppy Delivery Dates â Appearance
Find the Position card â it's the first card on the page.
Step 2 â Pick a Device Tab
The card has two tabs:
- Desktop đĨī¸
- Mobile đą
Settings are saved separately for each, so you can fine-tune the position for bigger and smaller screens. Configure one tab, then switch to the other and repeat if needed.
Step 3 â Choose Where the Picker Appears
Under "Where do you want position the date time picker?", choose one of the radio options:
- Default (before checkout button or end of Cart page form) â the app places the picker before your theme's main cart footer area, near the checkout button. This works out of the box for many themes â . If your theme doesn't have that area, the picker won't show, so use one of the custom options below
- Before a HTML element â the picker is placed just before the element you specify
- At the start of a HTML element â the picker is placed inside the element, before its existing content
- At the end of a HTML element â the picker is placed inside the element, after its existing content
- After a HTML element â the picker is placed just after the element you specify
Using a custom CSS selector
Choosing any option other than Default reveals an extra text field. Enter the CSS selector of the element you want to target.
- Placeholder example:
.cart_input - Class example:
.cart-footer - ID example:
#main-cart-footer
â ī¸ If the CSS selector doesn't match any element on your Cart page, the slot picker may not appear at all. Double-check the selector using your browser's Inspect tool, and always view the Cart page after saving to confirm the picker is visible.
đĄ If the picker vanishes after you set a custom selector, clear the CSS selector box first, then switch back to Default and save. A selector that is still saved keeps being used, even when Default is selected.
Step 4 â Set the Alignment
Choose how the heading and the additional message text are aligned above the picker:
- Center
- Left
- Right
Example
- Center keeps the heading and message in the middle
- Left or Right line them up with your theme's text
Step 5 â Set the Container Width (Optional)
Use Slot picker container width to control how wide the picker is:
- Enter a number in the width field (e.g.
100) - Choose the unit from the dropdown next to it: % or px
Example
100+%â the picker stretches to fill the available space400+pxâ a compact, fixed-width picker
âšī¸ This field is optional â leave it empty to let the picker use its natural width.
Step 6 â Save and Check Your Storefront
Click Save at the top of the page.
Then open your store's Cart page and confirm the picker sits exactly where you wanted it. Remember to check on both desktop and mobile if you configured both tabs đ
â ī¸ Important Notes
â ī¸ Desktop and Mobile positions are configured independently â changing one tab does not affect the other.
âšī¸ The Default option looks for your theme's main cart footer area. If your theme doesn't have one, use a custom position.
â ī¸ A wrong or outdated CSS selector (for example, after switching themes) is the most common reason the picker stops showing â re-check it first if that happens.
đ Final Result
Once configured successfully:
â The slot picker appears exactly where you want it on the Cart page â Desktop and Mobile each get their ideal placement â Container width and text alignment help the picker feel like a natural part of your theme â¨
Updated on: 27/11/2026
Thank you!