Skip to main content

Understand Design Settings and Storefront Previews

Use Settings → Design to match the RP Local Delivery Date storefront widget to your theme, compare method-navigation styles, preview common

Use Settings → Design to match the RP Local Delivery Date storefront widget
to your theme, compare method-navigation styles, preview common buyer states,
and add carefully scoped custom CSS when the standard controls are not enough.

What this helps you do

  • Choose the widget's accent color.

  • Display delivery, pickup, and shipping as icon buttons or text tabs.

  • Preview the cart widget, method popups, address check, calendar, and errors on
    desktop and mobile.

  • Apply optional CSS to the app widget without editing theme files.

Before you start

  • Confirm the RPDelivery Date App Embed is enabled on the theme you intend
    to test.

  • Open Shopify admin → Apps → RP Local Delivery Date → Settings → Design.

  • Duplicate a live theme or use a preview theme for significant style changes.

  • Keep a copy of any working custom CSS before replacing it.

Widget appearance

Accent color

The accent color controls actionable and selected elements in the delivery and
pickup experience. Depending on the visible state, it can affect selected
method controls, buttons, calendar selections, links, borders, and form-control
accents.

To choose a color:

  1. Select Accent color value to open the color picker.

  2. Choose a color visually or enter a valid six-digit hexadecimal value.

  3. Check text and controls in each Storefront example.

  4. Save, then verify the live theme on desktop and mobile.

Choose a color with sufficient contrast against both white and your theme's
cart background. The preview cannot detect every theme background or inherited
style, so the storefront check remains required.

Tabs display

Choose how the available methods appear at the top of the widget or popup:

  • Icon Buttons — larger method choices with delivery, pickup, and shipping
    icons. This is useful when methods should be visually distinct and the cart
    has enough width.

  • Tabs — a compact text-tab layout. This is useful in narrow cart drawers
    or themes where a smaller navigation row fits better.

Only enabled and eligible methods appear on the real storefront. The examples
show representative methods so you can compare the two styles; they do not
change which methods a cart qualifies for.

Storefront examples

Storefront examples are static, privacy-safe samples. They use the current
accent color, tab style, and saved translation values, but never read a shopper
cart, call availability, calculate a live fee, or create an order.

Use Preview state to inspect:

Preview

What it demonstrates

Cart widget

The embedded cart presentation before a shopper opens a method.

Delivery popup

Delivery selected with its representative date control and labels.

Pickup popup

Pickup selected with pickup-specific labels.

Shipping popup

The ordinary-shipping method and its configured label.

Address availability

Full-address entry and the translated successful-address message.

Calendar and time

Calendar styling, selected date, time choices, and submission controls.

Validation error

The translated unavailable-selection error and alert styling.

Switch between Desktop and Mobile for every state. The mobile control
narrows the sample viewport; it does not emulate a specific phone, browser,
theme drawer, or checkout.

The examples deliberately display sample store, product, address, price, and
calendar data. None of it is copied from the merchant's store or a customer.

Custom CSS Usage

Custom CSS is optional. Leave it set to No unless the standard accent and
tab controls cannot achieve the required result.

To enable custom CSS:

  1. Under Custom CSS Usage, select Yes.

  2. Enter CSS declarations and selectors in Enter code here.

  3. Save the app settings.

  4. Hard-refresh a storefront preview containing an eligible cart item.

  5. Test the cart page, cart drawer or popup, desktop, mobile, every enabled
    method, address entry, calendar/time selection, validation errors, and the
    checkout button.

Selecting No disables the saved CSS without requiring theme-file changes.
The value can remain stored for later reuse.

Safe custom CSS boundaries

  • Enter CSS only. Do not enter HTML, Liquid, JavaScript, script tags, access
    tokens, customer information, or an entire copied theme element.

  • Scope rules narrowly to the app element being changed. Broad selectors such
    as *, button, input, or div can make the widget unusable.

  • Do not hide required fields, errors, fee notices, consent controls, checkout
    progress, focus outlines, or accessible labels.

  • Avoid fixed heights and absolute positioning around calendars, error text, or
    translated copy; those values vary by device and language.

  • Preserve readable contrast and visible keyboard focus.

  • Remove or revise CSS after a theme or app layout update if it no longer
    matches the rendered structure.

Custom CSS is inserted into the app's storefront widget styling boundary. It is
not a replacement for theme placement settings and does not style Shopify's
hosted checkout, Thank You page, Order Status page, or customer-account
extensions.

Example: add rounded borders

To give the buttons inside the delivery and pickup widget gently rounded
corners, copy this into Enter code here:

.Button {
  border-radius: 12px;
}

This changes only app buttons inside the storefront widget's styling boundary;
it does not round every button in the Shopify theme. Increase the value for a
more rounded appearance or reduce it for squarer corners.

To add a rounded outline around the main embedded cart widget as well, use:

:host #root {
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 16px;
}

Test the result on both desktop and mobile. If the theme already supplies a
container border or spacing, omit the second example to avoid a double border.
To undo either change, remove that rule or select No under Custom CSS
Usage
, then save.

What the Design page does not control

Requirement

Where to configure it

Delivery, pickup, shipping, calendar, status, and error wording

Settings → Translations

Date format, time format, first weekday, preselection, comments, and method visibility

Settings → General

Delivery and pickup schedules, areas, products, fees, and eligibility

The applicable location profile

Position of the cart widget in a custom theme

Settings → Shopify App Settings → Advanced theme compatibility

Theme app embed activation

Online Store → Themes → Customize → App embeds

Shopify notification and email layout

Shopify Settings → Notifications and the app's Email Setups page

Checkout or customer-account extension placement

Shopify's checkout and customer-account editors

Recommended test checklist

After saving a design change:

  1. Add an eligible product to a real theme preview cart.

  2. Test every enabled method.

  3. Test an allowed selection and an unavailable or incomplete selection.

  4. Confirm fee and consent messages remain readable when Dynamic Pricing is
    enabled.

  5. Test both a cart page and cart drawer if the theme supports both.

  6. Change item quantity and confirm the widget returns after the AJAX refresh.

  7. Test desktop width, a narrow mobile width, keyboard navigation, and browser
    zoom.

  8. Test the store's enabled languages, especially longer translated labels.

  9. Continue to checkout and confirm the chosen date and time remain saved.

Troubleshooting

  • If the preview changes but the storefront does not, save the settings, hard
    refresh the storefront, and confirm the correct app/theme is open.

  • If the widget is missing or placed incorrectly, use Advanced theme
    compatibility rather than CSS positioning. See Add Custom Cart Selectors for Theme Compatibility.

  • If labels are wrong, edit Translations; CSS changes appearance, not wording.

  • If custom CSS breaks the widget, select No, save, and retest before
    removing individual rules.

  • If a selected accent makes buttons or errors difficult to read, restore a
    higher-contrast color and test focus, hover, selected, disabled, and error
    states.

Important limitations

  • The Storefront examples do not apply custom CSS. They preview the standard
    app styling only. Always verify custom CSS on the actual storefront.

  • The examples do not prove that a product, profile, date, slot, address, or fee
    is currently available.

  • Theme CSS, cart dimensions, translated text, browser extensions, and custom
    cart JavaScript can produce results that differ from the static examples.

  • Design changes can affect shoppers immediately after saving on a live store.

Did this answer your question?