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
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
Excellent. Thank you, Ismael.
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
We can close it. Thanks.
Hi,
Thank you for letting us know.
Best regards,
Basilis