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>
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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025