Personalized checkout and custom promotions with Shopify Scripts
Hey, i cant code really good so i need you help:
I want to align a segment in the right direction. I googled and they said its text-alignment="right"; but that doesnt work.
That is the Coding segment i want to move right:
{%- if 1 -%}
<p class="cart__savings">Du sparst: {{ total_cart_compare_price | minus: cart.total_price | money }} </p>
{%- endif -%}
luxorious-shop.de
But im working on the duplicated Theme at the moment.
@NoelDS, do this to fix it in 20 seconds:
1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:
@media (min-width: 750px){
.cart__items + *,
.cart__items + * + *{
text-align: right !important;
}
.cart__items + *{
margin-top: 20px;
}
}
Kind regards,
Diego
thank you for your help, i tried it but nothing happened.
Wrong data, it worked. Thank you so much!
@diego_ezfy can you help me with 1 improvement too?
I want the Message "Du sparst..." in the Cart on the right site where the subtotal is.
Hello @NoelDS,
We'd need to see the theme you're currently working on.
Please follow this quick tutorial to learn how to safely and temporarily share an offline/unpublished theme URL.
Kind regards,
Diego
The Page is in Cart.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024