Answer the question
In order to leave comments, you need to log in
Drupal Landing page menu customization??
Hello! I really need help with the following question!
I am doing a landing on Drupal + bootstrap theme and here I came to the question of the menu as in Landing + smooth transition, installed the Single Page Site module and the modules that it needs for it to work and somehow I can’t properly configure the menu, spent half the night with it.
Who faced this, please write the procedure for this setting.
How to link this module to the menu so that it works?
I would be very grateful for your help!
Answer the question
In order to leave comments, you need to log in
If you mean smooth scrolling to a specific block on the page. This is configured using smoothscroll.js and a couple of lines of activation code. All this is done in isolation from the engine, using one js.
jQuery(function($){
$('a.page-scroll').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top - 65,
}, 500);
event.preventDefault();
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question