Skip to main content
Solved

How to change Label colors in Acumatica

  • December 5, 2021
  • 4 replies
  • 359 views

Forum|alt.badge.img

Hi All,

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

 

Regards,

Ramya

Best answer by Naveen Boga

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

 

Here is the screenshot for your reference.

 

Hope this helps!

View original
Did this topic help you find an answer to your question?

4 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3404 replies
  • Answer
  • December 5, 2021

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

 

Here is the screenshot for your reference.

 

Hope this helps!


Forum|alt.badge.img+5
  • Jr Varsity II
  • 237 replies
  • December 6, 2021

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.


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 699 replies
  • December 7, 2021

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. 

 


Forum|alt.badge.img+5
  • Jr Varsity II
  • 237 replies
  • December 7, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings