Solved

How to change Label colors in Acumatica

  • 5 December 2021
  • 4 replies
  • 268 views

Userlevel 4
Badge

Hi All,

May i know how to change the Label color for field on “Subcontract” screen in acumatica.

 

Regards,

Ramya

icon

Best answer by Naveen Boga 5 December 2021, 16:44

View original

4 replies

Userlevel 7
Badge +17

Hi @ramya15  You can find the answer in below link.

 

Here is the screenshot for your reference.

 

Hope this helps!

Userlevel 6
Badge +5

You can also add the CSS to the aspx page between <style></style> tags, instead of the root controls.css file, it’s also a bit easier to add as a customization as you don’t have to modify the files.list in the event that your instance is not local. The benefit there is that it is scoped to that page.

Userlevel 7
Badge +11

Hi @markusray17 

We can add the <style></style> tag  in a new customization screen. But it wont allow to add the default Acumatica screen. 

We can try with Javascript.

example:

document.write("<style>#edAddAssignedLocation {height:20px;min-width:20px;padding-top:5px;border:2px solid green;}</style>");

Add the Javascript  control and write the script for that. 

 

Userlevel 6
Badge +5

The actual “Edit ASPX” command in the customization editor won’t allow you to add a style tag. You can directly add it to the aspx file and then include the page as a file in the customization. Which does mean for base pages you would still have to modify the files.list as I believe they are excluded by default. 

 

Javascript is also a valid option but the big issue is that it won’t run till after the page loads. On faster devices it’s likely not that noticeable but on slower devices you will notice a delay before the updated style displays. Depending on the use case that may not be an issue though and it’s definitely a more compatible solution(as it doesn’t modify the base page). 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved