title: Apply custom css to Sharepoint 2013 masterpage
body: <p>My Question is how to apply custom css to sharepont 2013 masterpage properly. I want to customize global navigation which is working when i doing like this way: Site settings -> Under Look and Feel Master Page -> Alternate CSS URL -> "Specify a CSS file to be used by this site and all sites that inherit from."</p>
  
  <p>Result:</p>
  
  <p><a href="https://i.stack.imgur.com/Kong4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kong4.jpg" alt="enter image description here"></a></p>
  
  <p>But my goal would be to create my own masterpage(copy of seattle.master) which contains my custom Css file via Sharepoint CssRegistration. If i do this the corev15.css going to overwrite my file and the navigation bar will fall apart. </p>
  
  <p>I've tried this:</p>
  
  <pre><code> &lt;SharePoint:CssRegistration name="&amp;lt;% $SPUrl:~sitecollection/Style Library/Custom/Blue.css %&amp;gt;" runat="server" after="SharepointCssFile" /&gt;
  </code></pre>
  
  <p>or:</p>
  
  <pre><code> &lt;SharePoint:CssRegistration name="&amp;lt;% $SPUrl:~sitecollection/Style Library/Custom/Blue.css %&amp;gt;" runat="server" after="corev15.css" /&gt;
  </code></pre>
  
  <p>For Sure the Cssregistration is working but the corev15.css overwrites everything. Any ideas how could i bypass corev15.css? </p>
  
  <p>Thanks in advance,
  bfrenky01</p>