Hi, is there a way to control the minimum height for the header? My logo is hardly readable when it shrinks down.
Any help would be great…thanks!
Hayley
Open up js/avia.js and search for
if(st < el_height/2)
{
newH = el_height - st;
header.removeClass('header-scrolled');
}
else
{
newH = el_height/2;
header.addClass('header-scrolled');
}
Replace it with
if(st < el_height/2)
{
newH = el_height - st;
header.removeClass('header-scrolled');
}
else
{
newH = el_height/2;
header.addClass('header-scrolled');
}
if(newH < 50) newH = 50;
and instead of 50 set your minimum height value (at the moment it’s set to 50px).
Perfect, thank you!