Dawn Theme - Help with Checkout - add button

Dawn Theme - Help with Checkout - add button

starpaint
Excursionist
35 1 3

On the Cart page I have added  the following liquid code to add a button, but it is in the center and not on the right above the other buttons, I want to fix that  plus I want to add the same button at the checkout page so they can contact us for shipping price this should be under the shipping price or total

We are not shopify plus, but I know with code it can be done

 

thanks in advance

<p align="center">
  <a href="https://starpaint.de/pages/contact" 
     class="button button--full-width button--primary custom-button">
    VERSAND AUSSERHALB DEUTSCHLANDS ODER INDIVIDUELLES ANGEBOT GEWÜNSCHT? JETZT KONTAKTIEREN!
  </a>
</p>

<style>
  .custom-button {
    background-color: #11a753 !important; /* Set button color */
    font-size: 1.5rem; 
    letter-spacing: .1rem;
    line-height: calc(1 + .2 / var(--font-body-scale));
    display: inline-flex;
/* Increase text size */
    padding: 0 3rem;  
/* Increase button size */
    display: inline-block; 
/* Ensures it respects width
    width: 100%; */ 
/* Adjust width (80% of the container) */
    max-width: 36rem; /* Prevents it from getting too large */
    text-align: center; /* Centers text */
  }
</style>
Reply 1 (1)

DaisyVo
Shopify Partner
4338 482 568

Hi @starpaint 

 

Your issue can only be fixed in the theme's Liquid file and cannot be customized with CSS. You should contact the theme developer or third-party apps for the best support.

 

Best,

Daisy 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution