Difference between revisions of "Template:DTU-Denmark"

 
(One intermediate revision by the same user not shown)
Line 50: Line 50:
 
           $('nav').addClass('black');
 
           $('nav').addClass('black');
 
         }else {
 
         }else {
if($(window).width()>890){
+
if($(window).width()>1200){
 
           $('nav').removeClass('black');
 
           $('nav').removeClass('black');
 
}
 
}
Line 137: Line 137:
 
}
 
}
  
if ($(window).width() < 890) {
+
if ($(window).width() < 1070) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
$('nav').addClass('black');
 
$('nav').addClass('black');
Line 157: Line 157:
 
}
 
}
  
   if (windowsize < 890) {
+
   if (windowsize < 1070) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
$('nav').addClass('black');
 
$('nav').addClass('black');

Latest revision as of 00:46, 13 December 2019