So we now have the HTML and CSS set for how we want the SharePoint site to look, the next step is to get it as close as is possible to the template in SharePoint, but first of all let’s make sure we have the necessary features in SharePoint enabled to support the Publishing feature.
Browse to the Site collection hosting the site, and ensure that you have the following feature enabled:
SharePoint Server Publishing Infrastructure