I have a sharepoint 2010 list, I want to hide the option "add new item" which resides below the list, any suggestions?
There's an out-of-the-box way to remove the
Add new item link. If you edit the webpart properties using the
Modify Shared Web Part command, you'll find the
Toolbar Type dropdown in the
List Views section. If you choose
No Toolbar there and save the page, the footer link will be gone.
No code required, no unghosting/customization, and no effect on other web parts that would be added on the same page.
But you'll have to do this in every view, while the CSS way proposed by Hameds could be applied globally.
Please be aware that there is a bug in SP2010 where if the toolbar type is set to "none" - if you have custom action ribbon buttons which target your library by list template ID or by content type ID, these buttons will not appear at the root folder of the library, but they will inside folders or document sets.
I have encountered this when deploying list definitions with toolbar type set to none; I have not tested this if you deploy a list and subsequently change the toolbar type to none.