J
J
Junior Bee2015-07-15 09:25:45
Drupal
Junior Bee, 2015-07-15 09:25:45

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

2 answer(s)
A
Aligatro, 2015-07-15
@Aligatro

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();
    });
});

U
UksusoFF, 2015-07-15
@UksusoFF

Landing Page on Drupal?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question