Custom Text With Lower Bottom Margin To Add To Cart

Topic summary

A team using the Dawn theme needs help adding custom text above the add-to-cart button with reduced bottom margin, similar to the implementation on cloudsharks.co.

Current Issue:

  • Text displays with larger-than-desired bottom margin
  • Seeking tighter spacing between custom text and button

Solution Provided:
A user shared CSS code to adjust margin and center the text:

  • Navigate to: Online Store > Themes > Actions > Edit code
  • Open base.css file
  • Add CSS targeting .product-info__container p.product__text with margin-bottom: -25px and text-align: center

Follow-up Request:
The original poster asked about changing the “20% OFF” text color to purple.

The discussion remains open with the color customization question unanswered.

Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

Hello. Our team has been stuck on this issue of adding text with a smaller margin to the add-to-cart button. The theme we are currently testing/using is Dawn.

We are looking to create text above the add-to-cart similar to our friends at cloud sharks (https://cloudsharks.co/products/cloudsharks)

However, we are currently stuck like this with a larger-than-wanted bottom margin for the add-to-cart button.

Our website can be found at https://calx.shop/products/revolution-watch.

1 Like

Hi @CALX_Admin ,

You can follow the instructions below to change the margin and center the text.

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Asset folder, open the base.css
  3. Paste the code below at the very bottom of the file.
.product__info-container p.product__text {
    margin-bottom: -25px;
    text-align: center;
}
1 Like

Thanks so much! Is it possible to change the “20% OFF” to the color purple? Thank you!