Re: I want to align a segment in the right direction

I want to align a segment in the right direction

NoelDS
Tourist
10 0 1

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 -%}

Replies 13 (13)

SpeedyDev
Trailblazer
199 17 39

@NoelDS 

Kindly share your Store url So that i can help you.

Thank you.

banned
NoelDS
Tourist
10 0 1

luxorious-shop.de

NoelDS
Tourist
10 0 1
NoelDS
Tourist
10 0 1

But im working on the duplicated Theme at the moment.

SpeedyDev
Trailblazer
199 17 39

@NoelDS 

Give me a screenShot, What are you looking,

banned
NoelDS
Tourist
10 0 1

Scren.png

diego_ezfy
Shopify Partner
2967 571 901

@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

NoelDS
Tourist
10 0 1

thank you for your help, i tried it but nothing happened.

NoelDS
Tourist
10 0 1

Wrong data, it worked. Thank you so much!

NoelDS
Tourist
10 0 1

@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.

https://telm2wymfl0zy5qi-65183776992.shopifypreview.com

diego_ezfy
Shopify Partner
2967 571 901

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

NoelDS
Tourist
10 0 1

The Page is in Cart.