I'm trying to make a calculation with a css property but it doesn't return anything.
I think it may be because the css property is returning '200px' rather than simply '200'. Can anyone suggest a work around? Many thanks.
windowHeight = $(window).height(); // This works
logoHeight = $('.home h1').css('height'); // This returns '200px'
logoPosition = windowHeight * 0.5 - logoHeight;