Jan 29 2018 01:36 AM
I've found the following info on the web: Hide the Windows Explorer Button in SharePoint Libraries
When I add the piece of code suggested on the web site to my Seattle.html master page (tested in multiple site collections - non modern sites) I always receive a XML error (see image) stating that my file isn't XML-Compliant. IMHO the reference/syntax to the Ribbon object is not correct in the master page context. Can someone confirm my assumption & provide the correct syntax for referencing the Ribbon from a Master page using CSS? Tx.
Jan 29 2018 02:20 AM
Are you using online? then it could be that the style has changed did you look it up with the developer tools if it is in this location?
Jan 29 2018 03:24 AM
Hi @Deleted tx for your prompt reply. Your suggestion of location made me thinking and I realized that I pasted the code not in the right lines within the Master page. After correction, I no longer obtain any XML warnings. Although I published a major version of the page (and also in preview) the button OWE is still visible in the Ribbon. Any suggestions? Tx.
Jan 29 2018 04:39 AM
great but did you check if the classes that are used are still the same as the blog post you referred to?
Jan 29 2018 05:40 AM