Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #904310

    Hi Support Team,
    We would like to scroll to the next section via an anchor link. Unfortunately, the section doesn’t scroll to the top of the browser window, but stops at the bottom of the menu bar. Is there a way to adjust that by Quick CSS?
    Thank you, Jan

    #905308

    Hey Jan,

    Thank you for using Enfold.

    Please insert this filter in the functions.php file.

    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    function avf_header_setting_filter_mod($header) {
    	$header['header_scroll_offset'] = $header['header_scroll_offset'] - 75;
    	return $header;
    }

    Adjust the default value 75 if necessary.

    Best regards,
    Ismael

    #905375

    Excellent. Thank you, Ismael.

    #906017

    Hi,

    Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #906272

    We can close it. Thanks.

    #906515

    Hi,

    Thank you for letting us know.

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Anchor Link Scroll Position’ is closed to new replies.