WebSite X5Help Center

 
Luis J.
Luis J.
User

Css alignment for payment image  en

Autor: Luis J.
Visited 1487, Followers 2, Udostępniony 0  

Does anyone know where to set the aligment for the logo here?
Happens with Paypal and Custom payment logos, i need it to be centered. I've tried looking in chrome debug viewer but was unsuccseful 

see image

Posted on the
13 ODPOWIEDZI - 2 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
Aleksej H.
Aleksej H.
Moderator

Hello. Please provide a link to the product page on your website. I will try to help you.

Czytaj więcej
Posted on the from Aleksej H.
Aleksej H.
Aleksej H.
Moderator

How do you want to align the icon?

Czytaj więcej
Posted on the from Aleksej H.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

Apparently a command was forgotten here in the code.
Try to insert this code (before the </head> tag).

<style>

#payment-container {justify-content: center;}

</style>

Czytaj więcej
Posted on the from Andreas S.
Luis J.
Luis J.
User
Autor

Andrea

I tried putting that code in the section "Statistic and Code" - before closing HEAD tag and also in shopping cart before head tag - no success

Czytaj więcej
Posted on the from Luis J.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

O.K. go under "4" to Onlineshop: warenkorb & checkout and there on "Properties" tab "Advanced" and insert the code there.
Then press CTRL+Preview button and upload.

Czytaj więcej
Posted on the from Andreas S.
Luis J.
Luis J.
User
Autor

Yes - i tried there and no luck.

see video attached

Czytaj więcej
Posted on the from Luis J.
Andreas S.
Andreas S.
Moderator
Najlepszy Użytkownik miesiąca DE

Sorry, this ist the Code...

<style>

#payment-container .payment-container {justify-content: center;}

</style>

Czytaj więcej
Posted on the from Andreas S.
Luis J.
Luis J.
User
Autor

Hi again - i have replaced it in same place - same issue still...

Czytaj więcej
Posted on the from Luis J.
Giuseppe Guida
Giuseppe Guida
User

Go to STEP 1 Settings> Statistics and Code> Code> Custom Code> Before Closing the HEAD Tag and enter this code:

<style>
#cart-container .payment-container {
justify-content: center !important;
}
</style>

See the screenshot below (the language is Italian, I live in Italy):

Czytaj więcej
Posted on the from Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

The result is this:

Czytaj więcej
Posted on the from Giuseppe Guida
Luis J.
Luis J.
User
Autor

Yes! Thank you Giuseppe! its showing correctly now

Czytaj więcej
Posted on the from Luis J.