Styling Delivery Timer

Modified on Mon, 19 Aug at 6:11 PM

Styling Delivery Timer is simple. Use the following section to pick colours, font size, spacing, alignment and simple positions:


The position element depicts where the Delivery Timer will be displayed. There are a handful of default locations which are compatible with most Shopify themes. If you find it isn’t outputting exactly where you want it to, you can get more control by inserting the script manually. To do this, you need to be comftoable with editing your theme’s code. Information on how to do this can be found here.

Margin top and bottom provide spacing either side of the timer.

The bottom search box allows for you to select a collection where delivery timer will not be shown. This is great if you have custom products that take longer to ship for example. To do this, simply create a collection in your Shopify store that contains the products you don’t want the timer to show on then come back and select that collection.

 

Styling the Message

As well as styling the output of the message using the above settings, you can also style the message itself with HTML.

Important: Use single quotes ‘ not double quotes “.

Below, we have wrapped the countdown part of the message using bold html tags. <b>…</b>

<img src='https://cdn-icons-png.flaticon.com/128/709/709790.png' style='max-width: 16px;vertical-align:middle;'> Order within the next <b>{{ countdown }}</b> for delivery by {{ deliverydate }}.


This results in a bolded part of the message on the frontend.

You could decide to wrap {{ deliverydate }} instead which would make this bold.

Another popular request is to add your own icon instead of an emoji.

<img src='https://cdn-icons-png.flaticon.com/128/709/709790.png' style='max-width: 16px;vertical-align:middle;'> Order within the next <b>{{ countdown }}</b> for delivery by {{ deliverydate }}.

In the above snippet, simply replace https://cdn-icons-png.flaticon.com/128/709/709790.png with your own image URL. You can obtain a URL by simply uploading your desired icon to your Shopify Stores files and media section.

Here is our own custom icon:

Delivery Timer supports basic HTML styling tags.

Delivery Timer also supports emojis! Simply paste an emoji in. We recommend grabbing the emojis from emojipedia. ?

Styling with CSS

If you are knowledgeable with CSS, you can get full control over the message styling including colours, paddings, margins, fonts and other CSS attributes.

Your developer should be able to style using CSS by targeting the classes. If you don’t have access to your own developer, you can try the Shopify Experts directory or places like Upwork and fiverr. We can not make advanced customizations for you.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article