+ Start a Discussion
QLearnQLearn 

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.

AmitSahuAmitSahu

Yes, you can use CSS for the styling.

AmitSahuAmitSahu

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

 

<style>
input.btn{
color:red;
}
</style>

 

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.