Home › Forums › WoodMart support forum › CSS problem in shopping cart
CSS problem in shopping cart
- This topic has 11 replies, 3 voices, and was last updated 6 years, 9 months ago by Bogdan Donovan.
-
AuthorPosts
-
February 12, 2018 at 4:06 pm #39279
DumbledoreParticipantHey there,
everything in this theme works extremely well, I am amazed!
Small style problem though with the shopping cart: The text on the right appears “out of the box”, I’ll attach a screenshot. Tried with or without custom CSS, but the problem remains.
Please help!
Attachments:
You must be logged in to view attached files.February 12, 2018 at 6:04 pm #39307
Artem TemosKeymasterHello,
Thank you so much purchasing our theme and contacting our support center.
Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
body .woocommerce-checkout-review-order-table tfoot .order-total th, body .woocommerce-checkout-review-order-table tr th { font-size: 14px; }
Kind Regards
XTemos StudioFebruary 13, 2018 at 11:34 am #39441
DumbledoreParticipantThank you Keymaster,
unfortunately this CSS snippet had no effect on the display of the cart: the right hand column still looks the same (“out of the box”).
My guess is that this has to do with the German translation of the term “Flat rate”, which is much longer: “Versandkostenpauschale”. I tried to change the translation to a shorter term via Loco Translate, but in the frontend it still says “Versandkostenpauschale”..
This is strange, because all other translation changes I have so far applied to the language files of Woodmart and Woocommerce do indeed show up correctly.
So, can you advise me how to change the translation of “Flat rate”?
========
Another way:
I enclose another screenshot showing the table structure which uses up a lot of space for the left column to display the word “Shipping” (German: “Versand”), leaving not enough width for the “long words” in the right column.
It might help if the left column took up only, let’s say, a quarter of the width, leaving a three-quarter-with for the long words in the right column.
How would I alter this specific table width via CSS?
Thank you in advance for your help!
Attachments:
You must be logged in to view attached files.February 13, 2018 at 12:32 pm #39462
Bogdan DonovanKeymasterWe can’t see your website because of maintenance mode enabled at the moment. Please, provide us your admin access.
Regards
February 13, 2018 at 12:47 pm #39463
DumbledoreParticipantHello Bogdan, sure, would you please give me an xtremos email address so I can open an administrator account for you?
February 13, 2018 at 1:01 pm #39469
Artem TemosKeymasterJust create a new account and post it data in the private content here. Not necessary to use our email.
February 13, 2018 at 1:11 pm #39471
DumbledoreParticipantHello Bogdan, here is your account, thank you in advance for your help:
February 13, 2018 at 1:56 pm #39480
Bogdan DonovanKeymasterTry to add the following code snippet to the Desktop Custom CSS area in Theme Settings to fix this issue.
body .cart-content-wrapper .cart-totals-section { -webkit-box-flex: 0; -ms-flex:0 0 500px; flex: 0 0 500px; max-width: 500px; }
Regards
February 13, 2018 at 2:18 pm #39489
DumbledoreParticipantGreat, with your CSS the cart looks much better now.
Two more questions regarding this issue:
1)
The following warning now appears in Desktop Custom CSS, should I ignore it?
The property -moz-box-flex is compatible with -webkit-box-flex and should be included as well.
The property -ms-box-flex is compatible with -webkit-box-flex and should be included as well.2)
As mentioned before, I provided a different German translation for “Flat Rate” via Loco Translate (Woocommerce). Why does the newly translated term not show up in the cart frontend, while all others do?Thank you very much Bogdan!
February 13, 2018 at 2:43 pm #39494
Bogdan DonovanKeymaster1. Yes, you can ignore it.
2. Name of your shipping method can be changed in Woocommerce -> Settings -> Shipping -> Shipping zones -> Your shipping zone -> Shipping method title.
Regards
February 13, 2018 at 3:03 pm #39500
DumbledoreParticipantI see 😉 Thank you for the excellent support!
February 13, 2018 at 3:08 pm #39501
Bogdan DonovanKeymasterYou are welcome, Dumbledore.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register