I have 4 different master pages, seattle.master, oslo.master, v4.master and minimal.master. From my research on google, I found that the corev15.css lies in seattle.master and tried overriding that by inline-style but that din't work for me. I tried the same thing in all 4 master pages but failed. It's not working at all. I also tried writing a custom CSS Override.css and linking to those pages but failed. None of these worked. Any help is much appreciated.
<SharePoint:CssRegistration Name="_catalogs/masterpage/Override.css" After="corev15.css" runat="server" />
<SharePoint:CssRegistration name="https://one.echristus.net/sites/test-TFS/Style%20Library/Override.css" runat="server"/>
<link rel="stylesheet" type="text/css" href="https://one.echristus.net/sites/test-TFS/Style%20Library/Override.css" />
<link rel="stylesheet" type="text/css" href="_catalogs/masterpage/Override.css" />
This is my inline styling.
<style type="text/css">
@media screen and (max-width: 1024px) {
.o365cs-nav-header16 .o365cs-nav-centerAlign{
display: none!important;
}
.o365cs-base .ms-Icon--Waffle::before {
display: none!important;
}
.o365cs-base .ms-Icon--Settings::before{
display: none!important;
}
.o365cs-base .ms-Icon--Help::before {
display: none!important;
}
.o365cs-base * {
display: none!important;
}
.o365cs-nav-header16 .o365cs-nav-o365Branding {
display: none!important;
}
}
@media screen and (min-width: 1024px) {
#SuiteNavPlaceHolder {
display: none!important;
}
}
</style>