I have two pages and included the navigation in both of them so it makes it easier to edit it once than doing it in both. But now I am very unsure how to implement the class active, which shows which you are in (highlights) with css. This is the code:
<li><a href="../rapport/index.php" class='rapport' >Rapport</a></li>
<li><a href="../diagram/index.php" class='diagram' >Diagram</a></li>
EDIT: This is the css for the image and css and the icon. In blade I did this to make it active:
<li class='pil {{ ($aktiv == 'sok') ? 'active' : '' }}'> <a class='sok' {{HTML::linkRoute('sok','Søk')}}</a> </li>
CSS:
.navbar-default .navbar-nav>.active>a.rapport:before,
.navbar-nav>li>a.rapport:before { background-image: url('../images/top3.png'); }
.navbar-default .navbar-nav>.active>a.diagram:before,
.navbar-nav>li>a.diagram:before { background-image: url('../images/top2.png'); }