# Prevent "px" from being added to numbers in custom css properties

**URL:** <https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728>\
**Category:** Visual Editor Help\
**Tags:** visual-editor, styling\
**Created:** [June 18, 2023, 10:18am UTC](https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728 "2023-06-18T10:18:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonathanLand](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@JonathanLand](https://forum.builder.io/u/JonathanLand)\
**Post date:** [June 18, 2023, 10:18am UTC](https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728/1 "2023-06-18T10:18:38Z")

</div>

Most numeric custom css rules that we apply are font-weight, order, etc. Is there any way to prevent the editor from adding the “px” suffix to these on every change?

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [June 22, 2023, 2:28pm UTC](https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728/2 "2023-06-22T14:28:53Z")

</div>

Hi @JonathanLand, Hope you’re doing well!

Unfortunately, this is not a space or page-level setting. When you apply CSS you can remove px manually from the Style tab in Editor.

---

<div class="post-metadata">

**Author:** ![JonathanLand](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@JonathanLand](https://forum.builder.io/u/JonathanLand)\
**Post date:** [June 22, 2023, 2:31pm UTC](https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728/3 "2023-06-22T14:31:01Z")

</div>

Thanks for your reply @anon43891756.  
The problem is that it adds the “px” on **every** change. This is quite annoying to developers and very confusing to non-technical editors. How can we move forward to fix this?

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [June 26, 2023, 4:17pm UTC](https://forum.builder.io/t/prevent-px-from-being-added-to-numbers-in-custom-css-properties/3728/4 "2023-06-26T16:17:24Z")

</div>

@JonathanLand I understand your frustration and encourage you to submit it as a feature request here [http://ideas.builder.io/](http://ideas.builder.io/)
