I would like to hide the menu item in a document library that reads "Approve/Reject":
Since approval is being managed by a workflow that I created. Most online articles tell the solution to this issue is adding custom CSS to the page so I am trying this method. I have opened the page ~/AllItems.aspx
in SharePoint Designer.
Upon inspecting the HTML for the page in my browser, I found the html for that button:
I tried editing AllItems.aspx
as follows but the button would not disappear:
Can someone please give a full, working explanation of how I might achieve hiding this button?
!important
in your css likedisplay: none !important;
?