Today morning one of my friend came to me with a requirement. She wanted to remove “Download a copy” button from a particular document library. I know that can be done with CustomAction but in her case custom development was not an option. She wanted to achieve this using browser interface only.
Then I decided to try with CSS and there I had success.
Here is what I did:
1. Added a Content Editor webpart to the AllItems.aspx page
2. Added following HTML into the HTML source of CEWP.