+ Start a Discussion

Can I Change the color of buttons in detail Pages

can we change the color of buttons in Details pages?


Thanks in advance


Rakesh Aggarwal.ax1406Rakesh Aggarwal.ax1406

No direct way for this.. Only way I can think of for this will be add some home page component on left sidebar and write javascript to get buttons through their Ids and apply css accordingly.


Yes, you can use CSS for the styling.


In your VF page code you can try this as reference:




As per my requirement I have a overriden button where I am using VF page to show the record. I am using <apex:details> for that and in that code I have the above snippet and that works for me.