Skip to main content

Custom field display

More
5 years 10 months ago #326308 by amaurice
Hello,
I have a custom field but i would like to change the display so that the number is closed to the label and the symbol € after the number.
Can you help ?
Thanks !!

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #326315 by nicolas
Replied by nicolas on topic Custom field display
Hi,

You should be able to change that with a bit of CSS. What CSS to use will depend on the CSS already added to the page by your template so I can say what it would be exactly.
Could you provide the URL of that page so that we can check the CSS there ? Then, we should be able to tell you what you can add where.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #326341 by amaurice
Replied by amaurice on topic Custom field display
sure here it is
This message contains confidential information


Thanks a lot !
Last edit: 5 years 10 months ago by Philip.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #326358 by Philip
Replied by Philip on topic Custom field display
Hello,

Thanks for your element, from what I see, I have some suggestion, follow me step by step :
Custom field configuration :
1. Modify your label to have only "** dont eco-participation(en"
2. Then, like you do now in product backend only number 0.3

=> Result so far :
"** dont eco-participation(en 0.3"

Css customization :
We will complete this with some css :
1. Have a look on this tutorial , to see how to add custom css to your frontend file.
2. Use this command :
Code:
tr.hikashop_product_custom_ecopart_line span.hikashop_product_custom_value:after { content: "€)"; }
3. To suppress the space between the label & the value, use this css code :
Code:
tr.hikashop_product_custom_ecopart_line td { float: left; display: inline-block; }

Hope this will meet your expectations.
Regards
Last edit: 5 years 10 months ago by Philip.

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum