I have a weppart page I'm editing in SharePoint Web. I have an excel workbook display webpart in a column. The webpart has a summary toolbar for open in excel, download, and such. The toolbar has multiple buttons displayed to the user that I want to remove. Foe example, the first one is Edit in Excel.
I added a content editor for CSS and used .cui-ctl-mdedium, .cui-ctl-mdediumlabel Display:None;
I've tried multiple classes, targeting just the webpart, using !important and such with no luck. Any thoughts?
Are you sure you've written that selector correctly? The class name is actually
.cui-ctl-mediumlabel... you've written it with a "1". Not much to do in this case without code or anything to actually try it out. Have you tried solving your problem with your browser's dev tools adding rules?