Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1397825

    Hi guys!
    Need to change logo minimum size when header shrink at scrolling.
    Would you help me please?

    Cheers!
    Santiago

    #1397830

    You want to have a different ratio than 1/2 – then look for having a child theme solution :
    read the whole topic – but the two values to insert to the avia-sticky-header-script.js could be determined by: https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/#post-1044887
    example on that page is start on 100px – after shrinking the header-height should be: 40px …
    PS: in the meantime ( enfold 5.4.1) it is line 78 and 91 to change

    if you want to preserve the 1/2 ratio but only want to have a different logo height – you can set a different calculation on the same js – file on the line:

    logo.css({'maxHeight': newH + 'px'});
    
    #1397831
    This reply has been marked as private.
    #1397842

    Hi enfold,

    I’m glad that Guenni007 could help you :)
    Just let us know if you still need further assistance.


    @Guenni007
    thanks for helping out :)

    Best regards,
    Nikko

    #1412401

    By the way for others that will come via search function to this topic :
    This is obsolete now – we have on header – header behavior now a “Shrinking Amount” Setting.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.