-
AuthorPosts
-
matgray87 Friend
matgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
August 22, 2014 at 10:01 am #200729Hi,
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,
Mattalexsmirnov Friendalexsmirnov
- Join date:
- July 2012
- Posts:
- 786
- Downloads:
- 1
- Uploads:
- 226
- Thanks:
- 226
- Thanked:
- 163 times in 119 posts
August 22, 2014 at 5:53 pm #546992Hi 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 Friendmatgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
September 6, 2014 at 6:36 pm #548573Hi,
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?
ThanksNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 10, 2014 at 9:42 am #549000Apologies 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 Friendmatgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
September 15, 2014 at 10:14 am #549537Can’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,
MattNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 16, 2014 at 3:29 am #549638Hi 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 Friendmatgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
September 16, 2014 at 11:06 am #549702Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 17, 2014 at 4:20 am #549815I 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
1 user says Thank You to Ninja Lead for this useful post
matgray87 Friendmatgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
September 17, 2014 at 7:54 am #549834Hi,
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,
MattNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 18, 2014 at 4:04 am #549990When 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 Friendmatgray87
- Join date:
- November 2011
- Posts:
- 159
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 33
- Thanked:
- 8 times in 1 posts
September 22, 2014 at 7:08 pm #550412Yep, 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,
MattAuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by matgray87 10 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Fixed header makes page jump up
Viewing 11 posts - 1 through 11 (of 11 total)