Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28634

    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

    #138165

    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).

    #138166

    Perfect, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change Minimum Height for Header’ is closed to new replies.