Shopify themes, liquid, logos, and UX
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>
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025