Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1291221

    Hallo, wenn ich “Fixierte Kopfzeile verkleinern” einstelle und bei “Benutzerdefinierte Header Höhe” auf 80px einstelle ist die verkleinerte Version 40px. Wie kann ich einstellen das die verkleinerte Version 60px ist.

    #1291926

    Hey Reinhard,

    Thank you for the inquiry.

    By default, the theme will apply half of the initial height to the shrank header, but we could manually modify the enfold/js/avia-snippet-sticky-header.js to adjust it.

    Please look for this code around line 90..

    newH = el_height/2;
    						//header.addClass('header-scrolled');
    						av_change_class( header, 'add', 'header-scrolled' );
    

    .. and replace it with:

    newH = 60;
    						//header.addClass('header-scrolled');
    						av_change_class( header, 'add', 'header-scrolled' );
    

    You may need to disable the Performance > File Compression settings after the modification.

    Best regards,
    Ismael

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