• Hi,
    great wordpress theme…
    I have two problems:
    1. the video doesn’t play over iphone, and I think is correct, but I see the button to launch the video.
    2. When I click on the menu the page scroll to the selected anchor but it stop under the page title. If I click starting from the end of the page it scroll right and stop over page title. Why? Is possible to solve it modifying the code?

    Thanks,
    Stefano

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I’ve got the same problem than you (problem #2).
    Did you find something ?

    I could program something, but I’haven’t a lot of time …

    Thx

    Have the same issue with scrolling here, will try to figure it out in the next couple of days.

    *it’s a variation of the SMINT jQuery plugin
    I guess the solution somewhere in the wp-content/themes/onetone/js/jquery.smint.js

    I’ve removed the lines below from the jquery.smint.js, making my home header always fixed, and made the top margin of the .section-banner equal to .home-header height in css. Solved my scroll prob.

    // if we scroll more than the navigation, change its position to fixed and add class ‘fxd’, otherwise change it back to absolute and remove the class
    if (scrollTop > stickyTop) {
    $(‘.smint’).parents(“.home-header”).css({ ‘position’: ‘fixed’ }).addClass(‘fxd’);
    } else {
    $(‘.smint’).parents(“.home-header”).css({ ‘position’: ‘relative’}).removeClass(‘fxd’);
    }
    if(stickyTop>$(‘.smint’).height()){
    $(‘.smint’).parents(“.home-header”).css({ ‘position’: ‘fixed’ }).addClass(‘fxd’);
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with scroll’ is closed to new replies.