ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Change Color of Custom Dialog Buttons



I want to change the color of buttons of my custom dialog. In version10, this was what I was using and it was working:


(I used predefined button’s classes and applied that).

Now in version11, this isn’t working so I was trying with something like this


But it is getting applied to whole field of button. Tried to change fields_dict with Buttons/Button but none worked.

Any help will be deeply appreciated.



Any suggestions ??