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

    Hi,
    I would like to have the scrolled logo just 30% smaller , not 50%.
    I have found this link, but I think I should do something else:
    https://kriesi.at/support/topic/change-logo-image-for-scrolled-header/#post-188003

    and
    https://kriesi.at/support/topic/enfold-logo-resize/
    If I do like in the 2nd link :
    if(st < el_height/1.5)
    {
    newH = el_height – st;

    av_change_class(header, ‘remove’, ‘header-scrolled’);
    //header.removeClass(‘header-scrolled’);
    }
    else
    {
    newH = el_height/1.5;
    //header.addClass(‘header-scrolled’);
    av_change_class(header, ‘add’, ‘header-scrolled’);
    }
    –> then the logo is jumping. http://derevo.be/home
    What should I do to get the logo from height 120px to height 80px, better to say 2/3 of the not-scrolled size?

    Thank you very much.

    Irina

    • This topic was modified 10 years ago by naz_irina.
    #346246

    Hey Irina!

    Try with this modification instead:

    if(st < el_height/2.5)
    {
        newH = el_height - st;
        
        av_change_class(header, 'remove', 'header-scrolled');
        //header.removeClass('header-scrolled');
    }
    else
    {
        newH = el_height/1.5;
        //header.addClass('header-scrolled');
        av_change_class(header, 'add', 'header-scrolled');
    }

    Best regards,
    Josue

    #346406

    Hi Josue,

    It’s working perfectly!! thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Scrolled logo size – not double smaller but one third smaller’ is closed to new replies.