I have a WooCommerce website on which
I have added a bit of custom CSS code.
I want a line break after the 1st "€" character.
Unfortunately, the class for taxes is called the same and
therefore a line break is also inserted at the "€" symbol for taxes ("MwSt.").
How can I get a line break only after the 1st € symbol.
The result should look like this:
13,90 €
(incl. 2.22 € MwSt.)
And not like this:
13,90 €
(incl. 2,22 €
MwSt.)
In addition here are some screenshots:
2
Answers
The woo-commerce plugin has an option to put a space between price and currency, it can be found here:
woo-commerce << Settings
You need to target the span and get as specific as you can about it:
Not an absolute guarantee that this is enough because there may be other instances which you don’t want changed, but we don’t have enough info to check.