Sales banner

Theme section

Use the Sales banner section to announce a sale with a prominent discount, promotional headings and content, and optional buttons.

Set up section

Add this section to any template (except Checkout) and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.

Editing a template changes all pages that use that template. To edit specific pages, you can you can create new templates or insert dynamic content with metafields.

STEPS

In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

    Learn how to use templates in our Templates guide.

  2. Under Template, click (+) Add section and select Sales banner.

  3. Click and hold the drag-and-drop handles ⋮⋮ to re-order your sections.

Add sale details

Add details about your sale, including the Sale type, Sale amount, Sale unit, and Terms and conditions. Adjust the Font size and the Currency symbol position.

STEPS

In your theme editor (Customize):

  1. Click the Sales banner section to open the settings.

  2. Enter text for the Sale type. The default text sets the sale to be "up to" a certain percentage.

    Delete the text in this field for sales with a single percentage or dollar amount off on all sale products.

  3. Enter the Sale amount: either a dollar value or percentage number.

  4. Select the Sale unit: % off, $ per month, $ per year, $, %, or set it to None.

    You can change the default text for Per Month ("/mo") and Per year ("/yr") in the Default theme content editor. Learn more about Changing the wording in your theme.

  5. Enter text for any Terms and conditions that might apply to the sale.

  6. Click Save.

Settings reference

Click the Sales banner section to find the following settings.

SettingDescription

Height

Change the height of the banner section for desktop screens: between 200 and 800 pixels.

Mobile height

Change the height of the banner section for mobile screens: between 200 and 800 pixels.

Enable full width

Choose to display the banner the full width of the screen or window.

Layout

Choose to display all section content in One column or display the sale details and headings side-by-side in Two columns.

Sale

Enter the details of your sale, including the sale amount and conditions that apply.

SettingDescription

Sale type

Change the text to describe the sale amount. For example, enter “up to” for a maximum discount or “starting at” for a minimum discount.

Sale amount

Enter the numerical value of the percentage or dollar amount.

Sale unit

Select the unit of the sale amount: either dollar value or percentage off.

Terms and conditions

Enter optional text to show any legal notes or restrictions that apply to the sale.

Terms vertical offset

Increase or decrease the space between the sale details and the terms and conditions text.

Sale font size

Increase or decrease the font size of all sale details.

Currency symbol position

Change the location of the currency symbol: either Before or After the dollar amount.

Content

SettingDescription

Heading

Add text to show a main heading.

Heading size

Change the font size of the heading from small (1) to large (8).

Text

Add text to display below the main heading.

Button link

Select or paste a URL for a button. You can add up to three buttons below the section heading.

Button label

Enter call-to-action text to display as the button label. The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, https://www.thebalancesmb.com/call-to-action-1794380.

Button style

Choose a style for the button. Select Primary button (Solid), Secondary button (Solid), Tertiary button (Outline), or Text.

Section colors

SettingDescription

Color scheme

Change the color scheme applied to the section text and background. Select the Default color scheme from your theme settings or select a variant scheme based on the default colors: either Inverse, Soft, Accent, or Sale. You may also select one of the two custom color schemas.

Learn more about Color schemes.

Override with custom colors

Check this option to apply custom colors to the section. These colors will override the color scheme.

Text color

Select a custom color for all text in the blog post tile. This setting applies only if the Override with custom colors option is enabled.

Background color

Select a custom color for background of the blog post tile. This setting applies only if the Override with custom colors option is enabled.

Background image

SettingDescription

Image

Select or upload an image to display as the background of the banner. The image will override the color scheme and use the overlay colors selected in your theme settings. There are no required image dimensions. We recommend a minimum width of 2500px.

Mobile image

Select or upload a mobile-specific image to display as the background of the banner. The image will override the color scheme and use the overlay colors selected in your theme settings.

Image focal point

Select the most important part of the image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes. You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our Image settings guide.

Mobile focal point

Select the most important part of the mobile image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes. You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our Image settings guide.

Tint opacity

Use the slider to adjust the transparency of the overlay color. Set the opacity to 0% to turn off the overlay color. If set to 100%, the overlay will be opaque.

Tint style

Choose to use a Solid overlay color or Gradient overlay for the tint. The gradient style fades across a range of hues. You can select the angle and direction of the gradient from one of four options.

Override with custom colors

Check this option to use custom overlay colors for the tint. These colors will override the overlay colors selected in your theme settings.

Text color

Select a custom color for the heading and text of the “View all” tile. This setting applies only if the Override with custom colors option is enabled.

Tint color

Select a custom overlay text color for the tint. This setting applies only if the Override with custom colors option is enabled.

Section style

SettingDescription

Top spacing

Increase or decrease the amount of space above the section.

Bottom spacing

Increase or decrease the amount of space below the section.

Enable animation

Choose whether to display visual effects when scrolling, hovering, or interacting with the section. See the Animation guide to learn more.


Related links

Countdown banner Countdown bar Promotion grid

Last updated