Difference between revisions of "Template:KU Leuven/main/css"

Line 269: Line 269:
  
 
.nav-item {
 
.nav-item {
     display: none;
+
     display: block;
 
     width: 80px;
 
     width: 80px;
 
     top:30px;
 
     top:30px;
Line 358: Line 358:
 
<script>
 
<script>
 
  $( "#smartphonebutton" ).click(function() {
 
  $( "#smartphonebutton" ).click(function() {
    toggle (function() {
+
$(".nav-item").toggle();
      $(".nav-item").css('display', 'block');
+
 
});
 
});
 
});
 
});

Revision as of 14:22, 2 September 2015