## Upgrade Guide

To upgrade from version 1.x to the lateset version, follow this guide.

### New Files

Make sure you update all CSS and JS files that are related to AdminLTE. Otherwise, the layout will not function properly. Most important files are AdminLTE.css, skins CSS files, and app.js.

### Layout Changes

1. The .wrapper div must be placed immediately after the body tag rather than after the header
2. Change the .header div to .main-header `<div class="main-header">`
3. Change the .right-side class to .content-wrapper `<div class="content-wrapper">`
4. Change the .left-side class to .main-sidebar `<div class="main-sidebar">`
5. In the navbar, change .navbar-right to .navbar-custom-menu `<div class="navbar-custom-menu">`

### Navbar Custom Dropdown Menus

1. The icons in the notification menu do not need bg-* classes. They should be replaced with contextual text color class such as text-aqua or text-red.

### Login, Registration and Lockscreen Pages

There are major changes to the HTML markup and style to these pages. The best way is to copy the page's code and customize it.

And you should be set to go!

### Mailbox

Mailbox got an upgrade to include three different views. The views are inbox, read mail, and compose new email. To use these views, you should use the provided HTML files in the pages/mailbox folder.

Note: the old mailbox layout has been deprecated in favor of the new one and will be removed by the next release.