WebSite X5Help Center

 
Sinisa B.
Sinisa B.
User

Cart content alignment...  en

Auteur : Sinisa B.
Visité 528, Followers 3, Partagé 0  

Hi,

Is it possible to align the cart-content table data - especially the column titles?

(please see the attached file).

One more thing - what is the name of the column marked with a blue arrow (in English) so I can find it and translated it?

Thank you very much in advance!

BR,

Sinisa

Posté le
13 RéPONSES - 1 UTILES
Wsx5.afsoftware.fr  
Wsx5.afsoftware.fr  
User

Hello Sinisa,

here my display is: 

and the column data are here

I have no answer to align the column title

Hope this helps

Regards

https://wsx5.afsoftware.fr

Lire plus
Posté le de Wsx5.afsoftware.fr  
Sinisa B.
Sinisa B.
User
Auteur

Thank you very much!

It's a shame that we can not align the columns titles..

Best!

Sinisa

Lire plus
Posté le de Sinisa B.
Wsx5.afsoftware.fr  
Wsx5.afsoftware.fr  
User

Hello KolAsim,

your code expetise can be usefull here.
No possibility to add CSS code into page properties into advanced tab to modify these settings on one part of cart object ?

I have tried with CartTable class or td.first-x class for the title description, but no good result.

Regards

https://wsx5.afsoftware.fr

Lire plus
Posté le de Wsx5.afsoftware.fr  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Wsx5.afsoftware.fr  
Hello KolAsim, your code expetise can be usefull here. ... ... ... 

(It > En) ... Hi, I don't know if I can be useful ...foot-in-mouth
... as you already know, I don't sell the program, I need to see the link of the cart page so that I can evaluate ...

.

@Sinisa B. ... ... in your second STAMP maybe in the text you don't have to use special characters: ('), ("), (&), etc.

.

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Wsx5.afsoftware.fr  
... ...  But does not works ... ... 

... x Description  ... try with:

<style> table:nth-child(1) .first-x:not(.last-y) { background-color:red !important;} </style>

ciao

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Wsx5.afsoftware.fr  
Wsx5.afsoftware.fr  
User

Hello KolAsim, Sinisa,

I have the workaround to change color, position of many infos on the cart page.laughing

Normal cart is like:

And now, my new cart is like:

to get it:

Add this code into your cart page properties into advanced tab like below.

<style>

/* to change color & position of all titles */
#imCartContainer table.cartTable thead tr td {
background-color: green;
color: white;
text-align: center; * Values are left, center or right */
}

/* to change color & position of all total */
#imCartContainer table.cartTable tbody tr td.head {
background-color: red;
color: white;
text-align: center; * Values are left, center or right */
}

</style>

and

Enjoy !

https://wsx5.afaosftware.fr

Lire plus
Posté le de Wsx5.afsoftware.fr  
Sinisa B.
Sinisa B.
User
Auteur

@Wsx5.afsoftware.fr 

Thank you very much!

The relevant CSS file (which contains the #imCartContainer table.cartTable thead tr td)
could be found in what folder exactly ?

BTW-it's good to know that this could be changed upon site export - cheers!


Lire plus
Posté le de Sinisa B.
Wsx5.afsoftware.fr  
Wsx5.afsoftware.fr  
User

In fact #imCartContainer is the name of used inside the software to identify a cart part.

like below with inspect into chrome

Lire plus
Posté le de Wsx5.afsoftware.fr  
Sinisa B.
Sinisa B.
User
Auteur

@Wsx5.afsoftware.fr 
Thank you very much!

Lire plus
Posté le de Sinisa B.