Skip to main content
Question

How to Apply Custom CSS Styling to a Field in Acumatica Modern UI (MUI)?

  • Nov 30, 2026 4:06 PM UTC
  • 4 replies
  • 32 views
  • Translate All

Hello everyone,

In the Classic UI Sales Orders screen (SO301000), I have applied custom CSS to display a particular field value in blue color and bold text.

I would like to achieve the same functionality in Acumatica Modern UI (MUI).

Any suggestions or examples would be appreciated.

Thanks!

4 replies

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Nov 30, 2026 4:07 PM UTC

Hi Josh,  You can try the below HTML customization to apply color and bold formatting to the field value in Modern UI.
 

<template>
<style>
        /* Apply blue color and bold text to the custom field value */
        .myclass input {
            color: blue !important;
            font-weight: bold !important;
        }
</style>

 

    <!-- Replace with your custom DAC field name -->
<field name="UsrYourCustomField" class="myclass"></field>
</template>

 

Hope this helps!

Translate

darylbowman
Captain II
Forum|alt.badge.img+17

You might find this helpful.

Translate

JKurtz29
Semi-Pro I
Forum|alt.badge.img+1
  • Semi-Pro I
  • Nov 30, 2026 4:11 PM UTC

Here’s an example from one of my customizations that changes color based on a field value.  In this case, we added a 3rd column to AR303000 to show aging information, and for the balances on buckets 3 and 4, we wanted to highlight them in yellow / red if those buckets had a balance:

 

<template>
<style>
.aging-alert {
background-color: lemonchiffon !important;
color: black;
border-radius: 6px;
}

.aging-error {
background-color: lightcoral !important;
color: black;
border-radius: 6px;
}
</style>
<template modify="#formCustomer" name="1-1-1">
<qp-fieldset slot="C" id="columnThirdHeader" view.bind="BAccount" class="highlights-section" wg-container="CustomerBalance_CustomerBalanceDup">
<field name="UsrAgingCurrent"></field>
<field name="UsrAging1"></field>
<field name="UsrAging2"></field>
<field name="UsrAging3" class.bind="BAccount.UsrAging3.value > 0 ? 'aging-alert' : ''"></field>
<field name="UsrAging4" class.bind="BAccount.UsrAging4.value > 0 ? 'aging-error' : ''"></field>
<field name="UsrAgingTotal"></field>
<field name="UsrAgingLastUpdatedMessage" class="no-label info-box-holder info-box-holder--theme-info"></field>
</qp-fieldset>
</template>
</template>

 

Translate

  • Author
  • Freshman I
  • Nov 30, 2026 4:20 PM UTC

Thanks everyone for the quick responses! I’ll try it out.

Translate