# Sales banner

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

![](https://2417329470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhnqe0uck0ozZhJ77wGXt%2Fuploads%2Fgit-blob-27d7061efcc2b8422ccb133eebfe293792cfedee%2Fsales-banner.jpeg?alt=media)

## Set up section

***

{% hint style="warning" %}
Editing a template changes all pages that use that template. To edit specific pages, you can [create new templates](https://help.fluorescent.co/stiletto/general/editing-themes/using-templates#create-and-assign-multiple-templates) or [insert dynamic content with metafields](https://help.fluorescent.co/stiletto/general/adapting-your-theme/dynamic-content-with-metafields)
{% endhint %}

In the editor side panel, click **(+) Add section** and select **Sales banner**. Click and hold the drag handles **`⋮⋮`** to re-order sections.

Click the section to edit the general **section styles:** [Padding](https://help.fluorescent.co/stiletto/sections/using-sections#section-padding) | [Animation](https://help.fluorescent.co/stiletto/sections/using-sections#section-animations)

### 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**.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on 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](https://help.fluorescent.co/stiletto/general/adapting-your-theme/edit-default-theme-content).
5. Enter text for any **Terms and conditions** that might apply to the sale.
6. Click **Save**.

</details>

### Add headings

***

Change the **Heading**, **Subheading**, and **Text** that displays in the right column of the banner.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Sales banner** section to open the settings.
2. Enter **Heading** text to display as a title at the top of the banner.

   > we recommend one to three words.

   > Delete the text in this field to remove the heading.
3. Enter **Subheading** text to display beneath the heading.

   > We recommend two to three short sentences.
4. (*Optional*.) Enter additional **Text** beneath the headings to provide more information about the sale.
5. Click **Save**.

</details>

### Add buttons

***

Add a **Button** to link to your sale collections or products or any other page with a custom text.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Sales banner** section to open the settings.
2. Select or paste a URL for the **Button link**.
3. Enter text for the **Button label**.

   > The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, [read "What is a Call to Action?"](https://www.thebalancesmb.com/call-to-action-1794380)
4. Select a **Button style**: either **Solid**, **Outline**, or **Text**.

   > The button uses the theme-wide button color set in the [Theme settings](https://help.fluorescent.co/stiletto/theme-styles/colors#button-colors).
5. Click **Save**.

</details>

### **Add background image**

***

Choose to display a background image that spans the entire banner instead of a background color.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Sales banner** section to open the settings.
2. (*Optional*) Under **Background image**, click **Select image** to upload a background image.

   > For optimal quality across all devices, we recommend images width or height of **`2500px`**.
3. Use **Image focal points** to specify the main focus of your images. The focal point of your image will remain centered and within frame when your site adapts to different screen sizes.

   > See our [image guide](https://help.fluorescent.co/stiletto/general/image-guide/theme-image-settings) to learn more about specifying a focal point for an image used within a section or for an uploaded image file when used anywhere on your site.
4. Use the color selector to change the **Text** and **Background** color.

   > The background color appears when there's no background image.
5. (*Optional*) Change the **Overlay color** and **Overlay opacity** using the slider to increase the contrast between the text and background image (if used).

   > These settings help make your text clear and readable.
6. (*Optional*) Click the **Overlay gradient** option to add a color overlay that fades across a range of hues.

   > You can choose the style, angle, position, and opacity of the gradient. See Shopify's [color gradient guide](https://help.shopify.com/en/manual/online-store/themes/theme-structure/color-scheme#gradients) to learn more.
7. Click **Save**.

</details>

## Section style

***

Choose whether to show the banner **Frame** (border), enable **Full width**, customize section colors, and adjust the **Padding** of the section.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on the **Sales banner** section to open the style settings.
2. Use the **Height** and **Mobile Height** sliders to adjust the height of the entire banner.

   > Choose between **`200 - 800px`** on desktop and **`300 - 800px`** on mobile.
3. Under **Color** in the section settings, use the color selectors to customize the **Text**, **Buttons**, **Sold button text**, and **Background color**.

   > We recommend using WebAIM's [contrast checker](https://webaim.org/resources/contrastchecker/) when matching colors to make sure your text is clear and readable for everyone.
4. Choose to use the **Two columns** or **One column** layout.
5. Uncheck the **Show frame** option to hide the thin border line within the banner.
6. Check the **Enable full width** option to span the banner across the whole window or screen, removing the margins on either side.
7. Select a **Padding** option to add space around the section to either the **Top and bottom**, **Top only**, **Bottom only**, or set it to **None**.
8. Click **Save**.

</details>

## Settings reference

Click the **Sales banner** section to find the following settings.

#### Banner

<table><thead><tr><th width="192">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Height</td><td>Change the height of the banner for desktop screens: between <strong><code>200 - 800px</code></strong>.</td></tr><tr><td>Mobile height</td><td>Change the height of the banner for desktop screens: between <strong><code>300 - 800px</code></strong></td></tr></tbody></table>

#### Sale

<table><thead><tr><th width="207">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Sale type</td><td>Enter text to describe the sale amount. 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.</td></tr><tr><td>Sale amount</td><td>Enter the dollar value or percentage amount for the sale.</td></tr><tr><td>Sale unit</td><td>Select the unit of the sale amout: <strong>% off</strong>, <strong>$ per month</strong>, <strong>$ per year</strong>, <strong>$</strong>, <strong>%</strong>, or set it to <strong>None</strong>.</td></tr><tr><td>Terms and conditions</td><td>Add text to state any terms and conditions that might apply to the sale.</td></tr><tr><td>Terms vertical offset</td><td>Use the slider to increase or decrease the amount of space above the terms and conditions text.</td></tr><tr><td>Sale font size</td><td>Change the font size of the sale text between <strong>80</strong> to <strong>200</strong> pixels.</td></tr><tr><td>Mobile sale font size</td><td>For mobile devices, change the font size of the sale text between <strong>80</strong> to <strong>200</strong> pixels.</td></tr><tr><td>Currency symbol position</td><td>Display the currency symbol <strong>Before ($100)</strong> or <strong>After (100$)</strong> the amount.</td></tr></tbody></table>

#### Content

<table><thead><tr><th width="176">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Heading</td><td>Enter text to show a heading.</td></tr><tr><td>Heading size</td><td>Change the font size of the heading to <strong>Small</strong>, <strong>Medium</strong>, or <strong>Large</strong>.</td></tr><tr><td>Text</td><td>Enter multiple lines of text.</td></tr><tr><td>Button link</td><td>Select or paste a URL for the button.</td></tr><tr><td>Button label</td><td>Enter text to display a button label. Leave this field blank to remove the button.</td></tr><tr><td>Button style</td><td>Choose a style for the button. Select <strong>Solid</strong>, <strong>Outline</strong>, or <strong>Text</strong>.</td></tr></tbody></table>

#### Background image

<table><thead><tr><th width="207">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Image</td><td>Select or upload an image to display as the background. There are no required image dimensions. We recommend a minimum width of 2500px.</td></tr><tr><td>Mobile image</td><td>Select or upload an image to display as the background of the banner on mobile devices. There are no required image dimensions. We recommend a minimum width of 1200px.</td></tr><tr><td>Image focal point</td><td>Select the most important part of your image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes.<br><br>You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our <a href="../../general/image-guide/theme-image-settings">Image settings guide</a>.</td></tr><tr><td>Mobile Image focal point</td><td>Select the most important part of your image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes.<br><br>You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our <a href="../../general/image-guide/theme-image-settings">Image settings guide</a>.</td></tr></tbody></table>

#### Color and overlay

| Setting           | Description                                                                                                                                                                                                                                                                       |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text              | Enter multiple lines of text.                                                                                                                                                                                                                                                     |
| Button            | Select the color of the button background.                                                                                                                                                                                                                                        |
| Solid button text | If the **Solid** button style is selected in the button block settings, select the color for the button text.                                                                                                                                                                     |
| Background color  | Select the color of the banner backgroud.                                                                                                                                                                                                                                         |
| Overlay           | Select a color to overlay the image. This option helps provide contrast with text and headings to keep them clear and readable.                                                                                                                                                   |
| Overlay gradient  | Add a color overlay that fades across a range of hues. You can choose the style, angle, position, and opacity of the gradient. See Shopify's [color gradient guide](https://help.shopify.com/en/manual/online-store/themes/theme-structure/color-scheme#gradients) to learn more. |
| Overlay 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.                                                                                                                  |

#### Section style

| Setting           | Description                                                                                                                                                                                         |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Layout            | Display the content of the sales banner in **Two columns** or **One column**.                                                                                                                       |
| Enable animation  | <p>Choose whether to display visual effects when scrolling, hovering, or interacting with the section.<br><br>See the <a href="../../theme-styles/animation">Animation guide</a> to learn more.</p> |
| Show frame        | Display a thin border line within the section.                                                                                                                                                      |
| Enable full width | Display the banner at the full width of the screen or window.                                                                                                                                       |
| Padding           | Add a margin of space around the section to either the **Top and bottom**, **Top only**, **Bottom only**, or set it to **None**.                                                                    |

\\

***

> **Related links**
>
> [Countdown banner](https://help.fluorescent.co/stiletto/sections/theme-sections/countdown-banner)\
> [Countdown bar](https://help.fluorescent.co/stiletto/sections/theme-sections/countdown-bar)\
> [Promotion banner](https://help.fluorescent.co/stiletto/sections/theme-sections/promotion-banner)\
> [Promotion bar](https://help.fluorescent.co/stiletto/sections/theme-sections/promotion-bar)
