Uppercase title cross sells
-
Hi guys, I’d like to uppercase the title of cross sells inside the cart. How can I do it easily? Naturally also for the english version.
Hi,
You can write it with uppercase letters while you translating this text with Loco Translate plugin.
Regards
Is there a way to write it without install another plugin? We already use many plugins.
You will be able to deactivate it after translating your texts.
Mh, ok. But what will happen when I’ll update your theme?
You will not lose PO files if you will store them in wp-content/languages/themes/
folder.
Unfortunately Loco Translate is not compatible with WPML. I downloaded your and WooCommerce .po and .mo, but I can’t edit the source string of WooCommerce. Furthermore I saw that a string as “related products” is wrote as lowercase, but online it showed in uppercase. Why?
OK, send us a link to such product and we will give you a custom CSS to make all characters be uppercased there.
Thank you. I’d like to uppercase the title of cross sells inside the cart. I sent a screenshot with the first message. I do not like lowercase because inside every product page the title “product related” is uppercase. So I would to keep the same style also inside the cart.
Try this CSS
body .product-360-button a:before,
body .product-video-button a:before {
width: 60px;
height: 60px;
line-height: 60px;
font-size: 18px;
}
Mh, it is not working. I need to uppercase the string “You may be interested in…” inside the cart. As I explained inside the italian translation I edited the .po file, but I can’t do the same with the source inside .po, so I asked you an alternative way to uppercase without editing .po and .mo. I suppose that it is possible, just like “related products” that is lowercase inside .po and uppercase on the web site. Thank you!
Sorry, we sent you a wrong snippet. Please, remove it and replace with this one
.cross-sells > h2 {
text-transform: uppercase;
}
The topic ‘Uppercase title cross sells’ is closed to new replies.