test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • matgray87 Friend
    #200729

    Hi,

    I’ve set the header so that it doesn’t disappear when the page is scrolled down. However, the rest of the page still tries to jump up the 84px as though the header wasn’t there.

    How do I stop this happening? The scroll and transition works fine and smoothly on the homepage (when there’s a slideshow), but not on any other page.

    Any help, much appreciated.

    Thanks,
    Matt

    alexsmirnov Friend
    #546992

    Hi Matt,

    Care to share with us what header and how exactly you set it to be fixed at the top? Any code and screenshots will be much appreciated.

    Regards,

    Alex

    matgray87 Friend
    #548573

    Hi,
    It’s here: http://annings.mattgraydesign.co.uk/index.php/gallery
    Just when the page scrolls down from the top, it jumps up the height of the menu to allow for the banner to be fixed…
    Where is this controlled?
    Thanks

    Ninja Lead Moderator
    #549000

    Apologies for this late response, somehow I missed this thread. I tried to read of you mentioned above but I could not get this problem, tt would be great if you can an illustrated screenshot of what you are trying to achieve. I will help you out

    matgray87 Friend
    #549537

    Can’t really get a screenshot. It’s the initial scroll from the very top of the page… it doesn’t scroll smoothly from the beginning, it jumps the first few pixels as if it’s compensating for the menu to disappear, but I’ve now got it as a fixed menu, so it just needs to scroll smoothly from the top.

    It’s now at http://annings.mattgraydesign.co.uk/gallery/

    Thanks again,
    Matt

    Ninja Lead Moderator
    #549638

    Hi Matt,

    I have tested directly on your site with other browser: IE, Firefox and Chrome, but I could not get the problem like as you mentioned. You can check it again or get me a screenshot with description on it, it will help me to understand the problem you see on your site. I will help you out.

    Regards

    matgray87 Friend
    #549702

    Thanks – here’s a screenshot hopefully describing in a bit more detail…

    Cheers,
    Matt


    1. header
    Ninja Lead Moderator
    #549815

    I just added this code below into templates/ja_sugite/tpls/blog-2.php file

    <?php
    $has_slideshow ="";

    if ($this->countModules('masthead')) :
    $has_slideshow = " has-slideshow";
    endif;

    ?>

    For now, the problem on your site is fixed, you can check it again, let me know if it helps

    matgray87 Friend
    #549834

    Hi,
    This means that the page no longer jumps on the Blog/Gallery pages, but it’s also changed the styling of the menu to replicate that of the homepage. I need the styling to be as it was originally, but just scroll slowly from the top. The ‘jumping’, however, still happens on the About Us page http://annings.mattgraydesign.co.uk/about-us.
    It basically happened on every page that there wasn’t a slideshow. Where is the actual ‘jumping’ controlled? There must be a script or something somewhere that is making it happen?
    Thanks,
    Matt

    Ninja Lead Moderator
    #549990

    When you process scroll-down on JA Sugite template default the header bar was hidden but I see you have been changed about that on your site.

    About the scroll-down is not working fine with pages have slideshow position because this position is fixing some css style and with what you changed the css style from header bar that’s why you get this bug. It’s very hard to fix on this case.

    Other pages without slideshow position are working fine when you process scroll-down page

    matgray87 Friend
    #550412

    Yep, they are… but I can’t find for the life of me where the ‘jump’ is coming from…
    Your solution above still works as a fix once I’ve doubled the top padding of .t3-mainbody, so thanks v much for your help!
    Cheers,
    Matt

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 3 voices, and was last updated by  matgray87 10 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum