[Skip to main content](#vessel-content)

#   Currency symbol size

##

- **[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")**
- [![destination&#95;sirius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-05-23.jpg)](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile") Topic Author
- [ Offline](/forum/user/18797-destination-sirius)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 5 months ago [\#107322](#107322) by [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")  *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107322 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")* was created by *[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")*

Hello,

I want to change the relative size of a currency symbol
(for example, I want to make it "font-size: 50%")

What is the easiest way to do it?

Thanx in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

13 years 5 months ago [\#107334](#107334) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107334 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

Hi,

You can edit your currency via the menu System&gt;Currency and change the symbol to for example: Code:

&lt;span class="font-size:50%"&gt;€&lt;/span&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")**
- [![destination&#95;sirius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-05-23.jpg)](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile") Topic Author
- [ Offline](/forum/user/18797-destination-sirius)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 4 months ago [\#107677](#107677) by [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")  Replied by *[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107677 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

It seems that it doesn't work.

I've tried to replace both "Code" and "Symbol" fields with string you provided above
Following strings don't work as well:
Code:

&lt;span class=\"font-size:50%\"&gt;€&lt;/span&gt; &lt;span class='font-size:50%'&gt;€&lt;/span&gt; &lt;span style=\"font-size:50%\"&gt;€&lt;/span&gt; &lt;span style='font-size:50%'&gt;€&lt;/span&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

13 years 4 months ago [\#107695](#107695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107695 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

You should not change the code field. Please revert it or it won't work properly.

What result do you get when you put it in the symbol field ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")**
- [![destination&#95;sirius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-05-23.jpg)](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile") Topic Author
- [ Offline](/forum/user/18797-destination-sirius)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 4 months ago -  13 years 4 months ago [\#107752](#107752) by [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")  Replied by *[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107752 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

Ok the code field is left unchanged

When I try to replace default value in the symbol field with this string: Code:

&lt;span style='font-size: 9px;'&gt;руб.&lt;/span&gt;

The result is the symbol appearance doesn't change, and something appears below the symbol field, as you can see on the .png attached

Probably, I should insert the tags somewhere in /components/com_hikashop/views/product/tmpl/listing_price.php ?
If yes, could you point me where to put it?

- [ ![after.png](/forum/attachment/10442) ](/forum/attachment/10442 "after.png") [ ](/forum/attachment/10442?download=1 "after.png")

Last edit: 13 years 4 months ago by [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

13 years 4 months ago [\#107771](#107771) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107771 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

I can see that the code field is not left unchanged. There is no currency code руб. in HikaShop by default. Please revert back to the default value our it won't work properly.

Regarding the display of the HTML in the form, you can change the line: Code:

&lt;input type="text" name="data[currency][currency_symbol]" value="&lt;?php echo @$this-&gt;element-&gt;currency_symbol; ?&gt;" /&gt;

to: Code:

&lt;input type="text" name="data[currency][currency_symbol]" value="&lt;?php echo $this-&gt;escape(@$this-&gt;element-&gt;currency_symbol); ?&gt;" /&gt;

in the file "form" of the view "currency" of your backend template via the menu Display-&gt;Views to fix the problem.

The following user(s) said Thank You: [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")**
- [![destination&#95;sirius's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-05-23.jpg)](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile") Topic Author
- [ Offline](/forum/user/18797-destination-sirius)

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 4 months ago [\#107777](#107777) by [destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")  Replied by *[destination\_sirius](/forum/user/18797-destination-sirius "View destination&#95;sirius's Profile")* on topic *[Currency symbol size](/forum/4-how-to/83237-currency-symbol-size#107777 "Hello,  I want to change the relative size of a currency symbol (for example, I want to make it &quot;font-size: 50%&quot;)  What is the easiest way to do it?  Thanx in advance")*

Solved

The reason to change a code was %i instead of %n by default in "format" field of "locale information"

Thank you for fast and detailed response!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMjM3LWN1cnJlbmN5LXN5bWJvbC1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
