PDA

View Full Version : Weird and flexibel wrapper height????



Rutger1973
Jun 20th, 2016, 05:08 PM
Hi Guys

Weirdest thing... I am working on a Joomla website and the responsive template has a wrapper. The height of this wrapper is somehow adjusting itself, depending on the amount of space on the browserscreen. Doesn't make any sense. I have placed in the CSS min-height:0px hoping it would adjust to the amount of content which it should do but no reaction. Firebug indicates that it is a element.style attribute but I cannot find the file that is causing this. I have used this template before (ordasoft blank template) and have never seen this before. It is driving me nuts... Anyone?

HOME (http://www.testeenwebsite.nl)

Thanks a bunch!

harbingerOTV
Jun 20th, 2016, 07:01 PM
http://www.testeenwebsite.nl/templates/os-basetemplate/javascript/custom.js


var wrapheight = jQuery(window).outerHeight() - jQuery(".header").outerHeight(true) - jQuery("#footer").outerHeight(true);
jQuery("#wrapper").css("min-height" , wrapheight);

Rutger1973
Jun 20th, 2016, 07:19 PM
You rock! Thanks buddy...