• Resolved pern89

    (@pern89)


    Hi!

    I have a Simone theme that Im making a childtheme of as a one-page page following the Lander tutorial in Lynda.com.
    When I add the javascript to the responsive menu and everything looks good in the laptop wiev. (code below)
    But in a smaller window with the “burger” menu it scrolls to far. Do I need to write a media query in the function-code? Or where to change this?

    $(‘html,body’).animate({
    scrollTop: (target.offset().top – 80)
    }, 1000);

Viewing 1 replies (of 1 total)
  • Thread Starter pern89

    (@pern89)

    Ofc, I changed it with media querys in my css!
    I do on the other hand have another problem.

    My burger menu wont open when on a “page” page. The burger menu works fine from the one-page-page, and the normal menu when using a large window-resolution also works fint rom within the “pages”-page.

    Any Ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘Onepage menu overrides text’ is closed to new replies.