Support

Home Forums Event Espresso Premium Space between currency and number

Space between currency and number

Posted: November 9, 2019 at 8:15 am


sky

November 9, 2019 at 8:15 am

Hi guys,
How can I add a space between currency and Number? Here you can see the site where i got the currency / number-sample:
https://www.skydesign.ch/neudikids_neu/events/winterkurs-2019-20/
Thanks for your help!
Cristina


Tony

  • Support Staff

November 11, 2019 at 7:03 am

Hi there,

You can add   to the currency sign section in EE.

Go to Event Espresso -> General Settings -> Countries.

The country you have set for organization settings should be selected by default and the settings for that country will load by default.

In the Currency Sign section you hare CHF.

Change that to be  CHF and save. It will likely change to a ‘standard’ space after the save, thats fine.

Something else to note, it looks like you are hiding the currency code EE adds by default using CSS (I’m referring to the (CHF) text that normally shows after your price). Rather than hiding it, you can disable it with a snippet of code:

add_filter('FHEE__EEH_Template__format_currency__display_code', '__return_false');

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


sky

November 19, 2019 at 3:32 am

yes!! Thank you so much Tony!! Works perfekt!
Have a nice day!


Tony

  • Support Staff

November 19, 2019 at 6:52 am

Your most welcome and the same to you 🙂

The support post ‘Space between currency and number’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso