No video

Elementor Sticky Headers: Hide Header on Scroll Down, Show On Scroll Up

  Рет қаралды 65,793

Jeffrey @ Lytbox

Jeffrey @ Lytbox

Күн бұрын

Пікірлер: 188
@alexnijs76
@alexnijs76 6 ай бұрын
If the code snippet you copied is making the transition look a little bit jagged, try this code out: var prevScrollpos = window.pageYOffset; var header = document.getElementById("hide-header"); window.onscroll = function() { var currentScrollPos = window.pageYOffset; if (prevScrollpos > currentScrollPos) { header.style.transform = "translateY(0)"; } else { header.style.transform = "translateY(-80px)"; /* adjust this value to the height of your header */ } prevScrollpos = currentScrollPos; } #hide-header { transition: transform 0.4s ease; } This changes the abrupt change in the "top" property and allows it to be smoother. By using transition: transform, this also makes it smoother.
@pedrosanhueza7747
@pedrosanhueza7747 4 ай бұрын
thanks!
@bruceaisher
@bruceaisher 2 ай бұрын
Thanks!
@AdityaSingh-ni7vn
@AdityaSingh-ni7vn 2 ай бұрын
thanks man
@brucechen7752
@brucechen7752 2 ай бұрын
you are the true hero
@nathaniel6465
@nathaniel6465 Ай бұрын
My man
@bruceaisher
@bruceaisher 2 ай бұрын
Great tutorial - thanks man! I like that you don't have to use any extra plugins or anything
@LytboxStudio
@LytboxStudio 2 ай бұрын
I'll do what ever I can to avoid plugins lol 😂
@mojoro24
@mojoro24 Ай бұрын
Amazing! I love your channel, man. You explain things so well and your style really connects with me - I appreciate you, good sir! Subscribed!
@mobiuxlabs
@mobiuxlabs 2 жыл бұрын
Here's the modified JavaScript for the header disappearing when you scroll to the top on touch devices: var prevScrollpos = window.pageYOffset; window.onscroll = function() { var currentScrollPos = window.pageYOffset; if (prevScrollpos > currentScrollPos || currentScrollPos
@MaryJoeyIntas
@MaryJoeyIntas 2 жыл бұрын
Thanks very much, this help a lot! Were you able to solve the flickering as well?
@user-hk5gj5uu5v
@user-hk5gj5uu5v Жыл бұрын
Thank a lot!
@JohnnieDo
@JohnnieDo Жыл бұрын
Thanks, this did the trick!
@Xandosoulja
@Xandosoulja Жыл бұрын
Yes, thanks!
@Faisal-cq2sx
@Faisal-cq2sx Жыл бұрын
thank you so much
@claygaming3932
@claygaming3932 Ай бұрын
Very easy clean process, Thank you man
@mandalsubha06
@mandalsubha06 Ай бұрын
A very very useful code snippet indeed. But my transparent header is disappearing when I scroll to the top of the website. Is there a fix?
@denbypot
@denbypot Жыл бұрын
Hi Jeffrey, could it be that this script (btw. Imran has a similar one) does not work in Safari? (it works fine in Chrome) When I use these scripts the header disappears as desired on scrolling down and comes back during scrolling up. But as soon as you reach the top top of the site the header jumps up to nowhere and leaves a blank space of the size of the header hight. The only way to get the header back is to reload the whole page. What do you think?
@sambal8272
@sambal8272 Жыл бұрын
Me also the exact same problem
@sambal8272
@sambal8272 Жыл бұрын
I think it has something to do with safari because of the plugins or extensions of safari browser
@KristofVanRentergem
@KristofVanRentergem Жыл бұрын
hey Jeffrey, this works perfectly when scrolling up... but when I'm scrolling down, the header disappears immediately when I scroll down for 1 pixel, even tough I set the "effects offset" on 300px. Is there perhaps something that we can overrule in the code? Any other users who had the same problem?
@devlife5596
@devlife5596 2 жыл бұрын
Clear, Useful, Great! Thanks so much for making this TUT Bros!
@limacon4745
@limacon4745 Жыл бұрын
Great one! But sadly does not work well on iOS devices. The menu disappears when scrolled up when you are on the top of the page.
@juanorttega
@juanorttega Жыл бұрын
Happened to me! Hopefully someone can help
@alybaomer
@alybaomer Жыл бұрын
Same here!
@sambal8272
@sambal8272 Жыл бұрын
Same her
@martinamikulasova2381
@martinamikulasova2381 Жыл бұрын
Same here, please, any solution?
@vidaone3647
@vidaone3647 Жыл бұрын
It's not IOS but Safari.
@jessebelleman8070
@jessebelleman8070 Жыл бұрын
has there already been a fix for the problem that makes the header disappear when scrolling back to the top of a mobile device?
@BairahaFruits
@BairahaFruits 2 жыл бұрын
Thank you brother, for this helpful video. Your presentation is very good.
@LytboxStudio
@LytboxStudio 2 жыл бұрын
You are most welcome! Thanks 🙏
@jeltesteur8286
@jeltesteur8286 Ай бұрын
awesome video. I implemented the script just like you suggested, but not with a separate header for mobile versions. however if I put the website half screen and move it back to wide screen, the header stays narrow now. so there seems to be a bug. it was working fine before implementing this. is this just me or is there a bug in the css or java?
@PintoTV
@PintoTV 3 ай бұрын
Great tutorial & I love your channel :) Quick question, I didn't see that you mentioned what to do with the container that we want to show & hide when the page is loaded, right now I have 2 containers in the header: 1. The main 2. The hide & show. Do I need to give it a negative margin or hide it somehow?
@LytboxStudio
@LytboxStudio 3 ай бұрын
The css should hide the ‘hidden’ container initially.
@raz0u
@raz0u 24 күн бұрын
Is this option possible only on elementor pro?
@ZetsubouZolo
@ZetsubouZolo 3 ай бұрын
hope someone sees this: the code works fine so far, it's very cool thanks! But when you scale the browser window small and then scale it back to big the menu box stays the smallest size you scaled before, it doesn't grow back in size. why is that?
@LytboxStudio
@LytboxStudio 3 ай бұрын
I’ll need to test and update on my next review. I try and update the code periodically to keep up with Elementor’s update 😅
@GrahamPhillips1985
@GrahamPhillips1985 4 ай бұрын
Great work! Is there a way to get this to work whilst also utilising Scroll Snap? I want to create a full-viewport scrolling site and the menu hiding on scroll down and showing on scroll up would top this off perfectly!
@LytboxStudio
@LytboxStudio 4 ай бұрын
Good question. I try and avoid scroll snap on Elementor. In my experience, it breaks things 😅
@jasonbruton5131
@jasonbruton5131 2 жыл бұрын
Thank you, very help. Been looking for this options for some time.
@franciscomanuelgomez5050
@franciscomanuelgomez5050 3 ай бұрын
Thanks soooo much!! 🙌🏻
@LytboxStudio
@LytboxStudio 3 ай бұрын
Thanks! 🙏
@estudiocrow
@estudiocrow 2 жыл бұрын
Always excelents tutorials! Respect! 🔥
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Much respect back! Cheers
@paul6925
@paul6925 Жыл бұрын
Great explanation! Pure javascript too! 🙌
@calmingmoments620
@calmingmoments620 2 жыл бұрын
Thank you for this - is there a way to stop the menu disappearing after a delay in either scroll or time? Thank you for your help
@sirhenryhu
@sirhenryhu 2 жыл бұрын
Hope @lytbox would give some clues on this topic. I have to say: I love the effect and it does really give visitors a better experience but I have to give it up because it is TOO SENSITIVE once the visitor slightly scrolls. In that way, it may be causing the opposite experience where we want our visitors to feel in the first place.
@Artenreich
@Artenreich Жыл бұрын
Well explained and exactly what i needed. Thanks!
@masquerade0133
@masquerade0133 Жыл бұрын
When I load the website, the header hides immediately when i'm on the top of the page. Is there a way I can leave it there and have it show up when i scroll up? (essentially the same like you did but keeping the header showing when at top of page, first load)
@user-ou7qu3tz3e
@user-ou7qu3tz3e 10 ай бұрын
Thank you for this! I got it working but when I scroll back up the whole header doesn't appear. It cuts of the top of it and adds white space between the header and content of page. Any fix to this? Thanks so much!
@kylequinn5629
@kylequinn5629 9 ай бұрын
Same thing happens for me. Where you able to find a fix to this?
@prbv1308
@prbv1308 Жыл бұрын
You are the best! Simple indeed Thank you so much
@geeranton
@geeranton 2 жыл бұрын
Are there any news about fix when header disappear at the top of the page on mobile and touchpad swiping?
@LakeMeadows
@LakeMeadows Жыл бұрын
Thanks for this! I'm using it on a site I'll be launching this week. The hide header works real smooth on desktop and mobile. But, I ran into a problem when scrolling on my tablet (iPad Mini). Whenever I scroll back to the top of a page the header doesn't stick, instead it hides. Is there any way to fix this? Thanks again!
@jacek8889
@jacek8889 Жыл бұрын
same problem
@mohamedyasin5863
@mohamedyasin5863 Жыл бұрын
Thank you so much.its done my work!
@LytboxStudio
@LytboxStudio Жыл бұрын
So glad to hear!
@arturszyna4988
@arturszyna4988 Жыл бұрын
Thank you very much. Very clear explanation
@rakibulhashan5446
@rakibulhashan5446 Жыл бұрын
Worked like a charm!!
@zhincic
@zhincic 11 ай бұрын
Any clue on how it'd be set under the other one container? As I have the container with logo, hamburger menu and account icon and then another one purely with search-bar My idea is to have the search-bar appear only when scrolling upwards and I don't like it taking place of the first container when scrolled upwars. It goes to the top, instead of where it's initially put in header template. - Appreciate your time & skill, Jeffrey!
@CowMeCow
@CowMeCow 2 жыл бұрын
Awesome Tutorial! Thank you so much!~ BTW, I have Two sets of Headers, Header 1 for PC and Header 2 for Tab/Mobile, this "Hide Header" worked great on the Front(Main) Page, but it didn't work on subpages. could you help to fix this?~^^
@LytboxStudio
@LytboxStudio 2 жыл бұрын
This method will only work with 1 menu. It was the easiest solution without a bunch of code. For the subpages, can you share a link and I can take a quick look. You can reach me on Instagram
@arturo5050
@arturo5050 Жыл бұрын
Theres an error, when I go all the way up on mobile, the header disaper and not stay in thei place
@sohrabpourkhalili
@sohrabpourkhalili 6 ай бұрын
Thanks for your nice topics. But I think the below code maybe have less issues for most of users. var prevScrollpos = window.pageYOffset; var header = document.getElementById("hide-header"); var headerHeight = header.offsetHeight; window.onscroll = function() { var currentScrollPos = window.pageYOffset; if (prevScrollpos > currentScrollPos) { header.style.top = "0"; } else { header.style.top = "-" + headerHeight + "px"; } prevScrollpos = currentScrollPos; } /* Show Hide Sticky Header Speed Control */ #hide-header { transition: all .8s ease!important; }
@dragosvrejiu558
@dragosvrejiu558 2 жыл бұрын
Quality content as always.
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Much appreciated thanks! 🙏
@Ulcragyceptimol
@Ulcragyceptimol Жыл бұрын
Thank you very much for the gift of this tutorial and code, it works extremely well. In my browser though, when I scroll to the bottom of the page, the page goes past the actual bottom of the page and automatically 'bounces' up when I take my finger off. When it does, the menu reappears of course. Is there any way to prevent this happening? I think Mobiux posted a mod to the code which fixes a similar issue when scrolling to the top if that's any help.
@LytboxStudio
@LytboxStudio Жыл бұрын
Try - body {overflow-y: hidden;}
@Pinacoladaasdas
@Pinacoladaasdas Жыл бұрын
This tutorial is only for Elementor pro version. i realise that half way in the video. But i found a plugin that is easy to use (sticky header effects for elementor). Good luck with your website.
@ngonidzashemujee5704
@ngonidzashemujee5704 Жыл бұрын
whats the name of the plugin
@Pinacoladaasdas
@Pinacoladaasdas Жыл бұрын
@@ngonidzashemujee5704 sticky header effects for elementor
@ciitrusdigital
@ciitrusdigital 2 жыл бұрын
This is awesome! Is there a way to set this so that it only triggers a certain distance down the page?
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Thanks and sure, I’ll send an update shortly with a way to set a distance trigger
@webseiten
@webseiten 2 жыл бұрын
@@LytboxStudio Can you set that the header only appears after you have scrolled up 50px or 100px? I have the problem that the header appears from time to time by itself.
@deut
@deut Жыл бұрын
​@@LytboxStudio you're video is awesome!! :D I've been looking around everywhere for the answer. How to make it so that the header disappears when scrolling down after a certain px for instance?
@maomax123
@maomax123 Жыл бұрын
Gracias parcero - great video. Fron Colombia bro 👑👑🚀🚀
@ourtraveljournalnl
@ourtraveljournalnl Жыл бұрын
Hey, Thanks for the great video! I have one question... I've done all the step and the header hides on scrolling down and reappears when scrolling up, BUT when I'm at the top of my page, it disappears... because there is some kind of 'bounce' at the top when you scrol it hides again. It's really annoying and I can't get it fixed! what am I doing wrong? :(
@LytboxStudio
@LytboxStudio Жыл бұрын
Hey I’ve heard a couple people mention this. Can you share a link so I can check why it’s happening? You can send it to my IG or here
@jkholmes_rei
@jkholmes_rei Жыл бұрын
@@LytboxStudio having the same thing happen only for tablet and mobile when using chrome. The "bounce" once you hit the top of the screen hides the header entirely, but it will reappear once I start scrolling again. Curious if you have discovered how to fix this. Thanks and love the content!
@gabrielcardenas9344
@gabrielcardenas9344 Жыл бұрын
@@jkholmes_rei Have the same Issue, there's any idea how to fix it?
@elcolo73
@elcolo73 8 ай бұрын
try this: keep in mind I changed the id to #hide-logo var prevScrollpos = window.pageYOffset; var headerHeight = 100; // adjust this value to the height of your header var scrollThreshold = headerHeight; // adjust this value based on when you want the header to start hiding window.onscroll = function() { var currentScrollPos = window.pageYOffset; // Check if the user has scrolled down the threshold before hiding the header if (currentScrollPos > scrollThreshold) { if (prevScrollpos > currentScrollPos) { document.getElementById('hide-logo').style.top = '0'; } else { document.getElementById('hide-logo').style.top = '-' + headerHeight + 'px'; } } else { // User is at the top of the page or within the threshold, keep the header visible document.getElementById('hide-logo').style.top = '0'; } prevScrollpos = currentScrollPos; }; source: a comment in lytboxacademy.com original post
@MrRettopyrra
@MrRettopyrra Жыл бұрын
Thank you for you work. It worked very well ! But there is an inconvenient I can't solve myself. On the first scrolling down the header is hiding... but instantly. Without any effect. But it's strange because after that it's working well and smooth. Do you know why ?
@LytboxStudio
@LytboxStudio Жыл бұрын
This could be from a caching plugin. Try putting the CSS in your Customizer. CSS doesn’t cache when in there.
@videoprosuk
@videoprosuk Жыл бұрын
Thank you so much for this!
@Stephen-ef5zk
@Stephen-ef5zk Жыл бұрын
Great tutorial, just subscribed! Is there a way to adapt this to a header which is stuck to bottom of page instead of top?
@pusuluri27
@pusuluri27 4 ай бұрын
in admin panel position giving spacing issue because of admin tool bar, how to avoid that?
@LytboxStudio
@LytboxStudio 4 ай бұрын
There is no avoiding that. I keep incognito open to see how it is for the end user. I know it's kind annoying, me and my lead dev tried finding a solution and no luck
@u_nikkka
@u_nikkka Жыл бұрын
it worked properly, thanks
@hudiyaichwana6312
@hudiyaichwana6312 Жыл бұрын
what about change color of menu font, instead of its size Lytbox ?
@igorsrusakovs385
@igorsrusakovs385 Жыл бұрын
Thank you for code , but not work with scroll snap elementor.
@beshaw9879
@beshaw9879 2 жыл бұрын
why when i scroll up my header becomes half of its normal size ? ASAP Need help here Please Lytbox Thank you Lytbox
@AlexKores99
@AlexKores99 2 жыл бұрын
You need to edit line 9, change 80px to your header size ---- document.getElementById('show-hide-header').style.top = '-80px'
@brandonwest7419
@brandonwest7419 2 жыл бұрын
I too am having this problem, even when I change the header sizing in the javascript custom code. I am trying to fix it myself. I will let you know if I find a solution
@ryanc3657
@ryanc3657 2 жыл бұрын
@@brandonwest7419 somewhat same issue here. Copied the video and now it does disappear and reappear, but it it leaves a big white gap between the header and main page
@gabriellagranqvist9468
@gabriellagranqvist9468 Жыл бұрын
Same issue here. Is there a solution?
@shibambiswas415
@shibambiswas415 2 жыл бұрын
Please add one more thing. How to change nav text color with this hide option?
@Javiergcrespo
@Javiergcrespo Ай бұрын
Is there a way to hide it after scrolling, let's say 100px on the page??
@Javiergcrespo
@Javiergcrespo Ай бұрын
omg i figured it out, im shook
@loisahmed2085
@loisahmed2085 Жыл бұрын
Thank you
@LytboxStudio
@LytboxStudio Жыл бұрын
You’re welcome and thank you! 🙏
@mslcreative
@mslcreative 9 ай бұрын
I like your videos, they are well presented and the results work, all helps the community to grow. Thank you I do have a challenge that according to Elementor Pro support can't be done. I setup a form to capture data for marketing and after clicking the submit button a PDF with information is shown. I want the PDF to display on a new tab and put some html along with the PDF URL but it doesn't work as standard. Any ideas would be great, the client is happy as it is and this is purely for my satisfaction 😀
@searching_knowledge_tjk
@searching_knowledge_tjk 9 ай бұрын
Thank you so much!!!
@MaryJoeyIntas
@MaryJoeyIntas 2 жыл бұрын
Thank you, I've learned a lot using this tutorial but I've discovered an issue on Safari/touch devices where the sticky header totally disappears when scrolling back to topmost of the page. I was able to fix it somehow by using the solution in one the comments here but seems like it has a flickering issue. Would be lovely if you could share your fixes on this too! :)
@jessebelleman8070
@jessebelleman8070 Жыл бұрын
Did someone already found a solution to this?
@MaryJoeyIntas
@MaryJoeyIntas Жыл бұрын
@@jessebelleman8070 wasn't able to find a solution for the flickering issue. My client decided to revert back to just sticking the header regardless of scroll. :|
@faizrehman7937
@faizrehman7937 2 жыл бұрын
Great tutorial as usual. I have been searching around both on youtube & community forums to see if there is any tutorial on making a trending posts list in elementor with a fully custom Post design using loops/listings. I found some but they're are not as accurate, others were using Guterberg plugins for it. Would be very generous if you could help us create a tutorial to achieve that.
@LytboxStudio
@LytboxStudio 2 жыл бұрын
This is a good question and idea! I am adding it to my list. Thanks!
@brandaccelerators
@brandaccelerators Жыл бұрын
Great video keep it up
@raghuramjc2798
@raghuramjc2798 Жыл бұрын
Jeffrey, a nice tutorial, as always. I am using Elementor free version and do not get "add code" in Dashboard under "Elementor - Custome Code". What could be the reason? Thanks in advance.
@LytboxStudio
@LytboxStudio Жыл бұрын
Thanks @Raghurman! I think the Custom Code in Elementor is only available in the Pro version. I’d have to double check. A work around could be using a code plugin like Code Snippets or Header and Footer snippets
@raghuramjc2798
@raghuramjc2798 Жыл бұрын
@@LytboxStudio Thanks, Jeffery. Will be glad, if you pl. let me know.
@ppietras97
@ppietras97 2 жыл бұрын
The header menu disappears on mobile when you scroll to the top of the page because if you scroll up too high it automatically drops the page back down and the menu disappears
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Hey I'm going to run some tests on mobile and have a fix asap!
@ppietras97
@ppietras97 2 жыл бұрын
@@LytboxStudio would you be able to let me know once you do? Would really appreciate it🙌🏼
@MrPlome
@MrPlome 2 жыл бұрын
Same problem here on desktop. It works fine until you scroll past the top of the page, then it hides again. Because it drops down..
@geeranton
@geeranton 2 жыл бұрын
@@MrPlome noticed that the problem appears while scrolling on laptop with Touch Bar. Its OK when using mouse. Waiting for fix too.
@advanced-developers
@advanced-developers 2 жыл бұрын
Good content ❤️
@LytboxStudio
@LytboxStudio 2 жыл бұрын
I appreciate that. Thanks 🙏
@diagosa
@diagosa 2 жыл бұрын
Hi Bro, you look like handsome with your new hairs better than me. :))
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Haha thanks 😅
@jaroslavkupca5082
@jaroslavkupca5082 Жыл бұрын
Hello, than you for your tutorial. Can you help me how i can change background color of sticky menu, if i want it is different, than top fixed menu?
@jrashish
@jrashish Жыл бұрын
Hello Jeffrey thank you soo much for the tutorial, I followed it but my header does not appear back in the desktop - for mobile, it is working fine
@bySterling
@bySterling 2 жыл бұрын
Curious man do you sell you awesome custom designs for purchase/downloads?
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Thanks! I’m not selling any now but I am putting some together to give away for free:) just sign up at lytboxacademy.com
@alybaomer
@alybaomer Жыл бұрын
Great tutorial! I am new to code and I made a sticky header that changes when you scroll. I am experiencing 1 problem though. Containers I have that are also sticky completely change to white (the color of the header background on scroll) and do not show any contents. I'm guessing because the code changes all sticky elements. Is there a way to avoid this?
@alybaomer
@alybaomer Жыл бұрын
Nevermind! I was able to do it on my own with some code! Yay :)
@serdimay7
@serdimay7 2 жыл бұрын
what if you want to keep the button live on the mobile version. Is it possible with CSS to switch positions so that the meu appears on the far right?
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Good question. I did test this out and it can be done with the new Container. There are options to change the order for tablet and mobile.
@SaraCarozzolo
@SaraCarozzolo 7 ай бұрын
I followed another one of your menu tutorials and it was doing something weird, which is also happening with this one, so maybe something on my end. When I pull the browser window in and then back out wide, the menu stays at the width I previous had the window out. Have you ever had that experience? Appreciate your amazing tutorials! Thank you!
@COMEDYCHANNEL-nd6ce
@COMEDYCHANNEL-nd6ce 2 жыл бұрын
Can you make a nav menu pointer with rounded border i tried everything but cant do it and i have subscribed your channel
@somelethalart
@somelethalart 10 ай бұрын
Hello. Great tutorial! Explanations are very clear and I appreciate you're doing tutorials with UI&UX in mind. Short question: What can I do if on desktopI have a little section of 30px height above the sticky header (contact bar)? Can the js be separated for desktop and mobile? So on desktop I put a distance of 30px from top for initial state? The mobile js would be 0px distance for the top for initial state of the header. Thanks a lot!
@gonzalordtm
@gonzalordtm 6 ай бұрын
Thank you!
@derpferdeflusterer3460
@derpferdeflusterer3460 Жыл бұрын
Is it possible to have this effect just for the desktop version, but not for the tablet or phone version?
@LytboxStudio
@LytboxStudio Жыл бұрын
It is. When you turn on ‘Sticky’ there is an option for desktop table and mobile. Just turn them off and they should scroll up as normal
@derpferdeflusterer3460
@derpferdeflusterer3460 Жыл бұрын
@@LytboxStudio I turned on sticky and deleted table and mobile from the list. However, the menu icon still.disappears when I scroll down just like the nav menu does on the desktop version :( Is there maybe something I can add to the css code, so that it only applies to the desktop version?
@LytboxStudio
@LytboxStudio Жыл бұрын
@@derpferdeflusterer3460 ok I see. It is possible to add some media queries in the CSS. Another simple solution though would be to create 2 menu sections, first one of desktop with the effect and the second for tablet and mobile that are normal and use the responsive setting the hide them.
@derpferdeflusterer3460
@derpferdeflusterer3460 Жыл бұрын
@@LytboxStudio where should I add which CSS Code 🙈?
@LytboxStudio
@LytboxStudio Жыл бұрын
@@derpferdeflusterer3460 You can add in the Customized > CSS
@colexwerbeagentur3018
@colexwerbeagentur3018 4 ай бұрын
On mobile it is hidden when scrolling down. But when you scroll up it doesn't show up again.
@LytboxStudio
@LytboxStudio 4 ай бұрын
I'll check this out and see if it's still working on my end. I try and update the code snippets periodically so they all still work. I'm due for a another review 😅
@RezerwatPrzygody
@RezerwatPrzygody 6 ай бұрын
Hi, appreciate your tutorial(s). There's a Safari issue, when I use these scripts the header disappears as desired on scrolling down and comes back during scrolling up. But as soon as you reach the top top of the site the header jumps out of the screen and leaves a blank space of the size of the header hight. Are there any updates from you on this one?
@martindimitrov2229
@martindimitrov2229 4 ай бұрын
Hey there, same here. Do you have any solution? I figured out that if I use a "go to the top" button, the section will not hide, but as soon as I scroll up it disappears again.
@TresPerros
@TresPerros 11 ай бұрын
Any idea why I wouldn't have the sticky option in motion effects? I made sure to update to the latest version of Elementor. I do use the free version, but I had thought it was included in the free version. Thanks
@LytboxStudio
@LytboxStudio 11 ай бұрын
It might only be in the Pro version
@alexfullercleveland9871
@alexfullercleveland9871 Жыл бұрын
This works on my homepage, but for some reason, not any other page with the header applied. It's also not working on Safari at all. Any ideas?
@relevailleslaurentides1063
@relevailleslaurentides1063 10 ай бұрын
The only thing is that when scrolling back up, the menu doesn't come back as it was, it is kind of higher and does hide a part of it... Do you understand why ?
@franciscoperez-by3hh
@franciscoperez-by3hh 2 жыл бұрын
Hello Lytbox, I love your tutorials bro ❤️. Could you make a tutorial on how to create a website for Real Estate. In Codecanyon I made some Themes in this niche, but like you I am afraid that the person who created the Theme will not perform more Updates or abandon the project, you know how uncomfortable it would be to tell your client that his site is not going to work anymore , it would be disappointing. You could create something with element, Crocoblocks or ACF or any other way you know. Greetings in advance.
@LytboxStudio
@LytboxStudio 2 жыл бұрын
Hey Francisco thanks mate! And sure, these are fun projects! I use Elementor with Jet Engine to make my listing and real estate sites. I have plans to make complete in-depth tutorial for building websites like these and have added this to my list.
@franciscoperez-by3hh
@franciscoperez-by3hh 2 жыл бұрын
@@LytboxStudio TKS BRO 👊
@LevonGavalian
@LevonGavalian Жыл бұрын
Can you please make a Tutorial on how to change menu appearance based on section background that is it scrolled to.
@pokdavid
@pokdavid Жыл бұрын
Great tutorial, but I'm having some trouble with the shrinking header (I followed exactly the process you taught in the other video). Once I activated the script, the whole shrunk stuff stopped working on the live page, so the header disappeared and appeared as it should, but the background and shrunken parts didn't activate. (it works perfectly on the elementor tab, but not on the live page). Does anyone have any thoughts on why this is happening? Thanks
@rswebmarketing
@rswebmarketing Жыл бұрын
Does not work for me. The header breaks when scroll up.
@jaroslavkupca5082
@jaroslavkupca5082 Жыл бұрын
I found problem how change background of shrinker menu, but does not make affect to color of fonts in css, even with important code. For example i want main header transparent with white menu fonts and white logo (that is ok and i can do it), but i do not know how to do shrinker (sticky header) has full background white color with black font menu and black logo. Can give me some advice. Thank you.
@daczito
@daczito Жыл бұрын
Hey Jeffrey. Have you tested this out on mac safari? It works perfectly on chrome, but on safari it glitches. If you scroll up while at the complete top of the page, it will hide the header.
@LytboxStudio
@LytboxStudio Жыл бұрын
Hey Daniel, yah one of the recent updates messed up the sticky headers. I’m working on a fox now. Make sure to have snap scroll off in the settings. There’s a bug where Snap Scroll breaks the sticky effects. I’ll have an update soon for all my header vids. Thanks for the heads up. Cheers!
@ngonidzashemujee5704
@ngonidzashemujee5704 Жыл бұрын
@@LytboxStudio Hie Jeff, thanx a lots for the sticky headers, much appriciated. think chrome did an update too thats messing with the header. it works pefect on edge and opera but recently it started not showing on chrome. thanx with ane update looking forward to it, i have 3 websites that have sticky headers.
@LytboxStudio
@LytboxStudio Жыл бұрын
@@ngonidzashemujee5704 Elementor just released an update fixing the sticky issues with the new Chrome update.
@ngonidzashemujee5704
@ngonidzashemujee5704 Жыл бұрын
@@LytboxStudio noted with thanx. Let me look unto it
@kylequinn5629
@kylequinn5629 9 ай бұрын
I am running into the issue where when I scroll back up, the header only comes back halfway. Do you know why this is happening?
@self-defence3641
@self-defence3641 Жыл бұрын
I have a problem with the mobile it does not show when I reload the page only when I go down and up again.
@mauriziolarocca
@mauriziolarocca 7 ай бұрын
It does not works for Safari and Mobile. What should I do?
@IsotonikStudios
@IsotonikStudios 2 ай бұрын
Bum! I built a two container menu, the first scrolls off the screen when I move down the second container then sticks to the top and shrinks... I wanted to move further and then have this second container vanish, with the scroll back up (in the middle of the page height) and have both containers reappear, this technique obviously doesn't work :-(
@LytboxStudio
@LytboxStudio 2 ай бұрын
If it works for me and thousands of others, then it might be something you are doing wrong 🤔
@IsotonikStudios
@IsotonikStudios 2 ай бұрын
@@LytboxStudio yeah but it doesn’t work for you, you said so in the video itself, you can only show and hide one container…
@LytboxStudio
@LytboxStudio 2 ай бұрын
​@IsotonikStudios the tutorial works. You want to do something different and will need to do a bit of extra dev and apply additional CSS.
@IsotonikStudios
@IsotonikStudios 2 ай бұрын
@@LytboxStudiook so it is possible to do this with a two container header then, but lost now….
@LytboxStudio
@LytboxStudio 2 ай бұрын
​@IsotonikStudios anything is possible with web dev. It'll take a bit of CSS adjustments on your end.
@how2dodis
@how2dodis 9 ай бұрын
for me its really laggy and not really fluent, Kinda seems buggy but I have follewed each step exactly
@LytboxStudio
@LytboxStudio 9 ай бұрын
It's most likely something else on your site conflicting like other plugins. You can see how it should work on the example page here - tuts.lytboxacademy.com/hide-header-on-scroll-down/
@antoniomaria2012
@antoniomaria2012 Жыл бұрын
I can't make it work correctly :(
@ms-webdesign
@ms-webdesign 6 ай бұрын
i should have same functionality for an elementor button
@hassnainmh2048
@hassnainmh2048 Жыл бұрын
did nothing for me
@junjie83
@junjie83 Жыл бұрын
try to not make it with elementor PRO pls, im not a pro user
@DawidJoks
@DawidJoks Жыл бұрын
Thank you! Great stuff
@bikechiatry365
@bikechiatry365 Жыл бұрын
try changing size of your browser window - to narrow than back to wider - it all breaks appart
@mareckis8922
@mareckis8922 Жыл бұрын
same problem here. Any idea how to solve this? I think we should have some code to revoke the code again during changing the size of the browser
@liyem
@liyem 10 ай бұрын
Had the same issue! If you remove the CSS part (the section with tags) it works properly when resizing the browser window. However, the sleek animation is gone. I'm currently looking to find a solution to still have a working animation.
@RafaelCassis-182
@RafaelCassis-182 5 ай бұрын
Hey @liyem ! did you solve the issue of the resizing? i will really appreciate if you can point me to the solution Thanks!!
A Fully Shrinking Sticky Header On Scroll With Elementor
25:37
Jeffrey @ Lytbox
Рет қаралды 43 М.
Elementor’s default 1140px doesn’t work. Here’s why
19:34
Rino de Boer
Рет қаралды 121 М.
Алексей Щербаков разнес ВДВшников
00:47
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 69 МЛН
PLAY VIDEO ON SCROLL - GSAP Scrolltrigger Elementor (No plugin)
5:54
Nicolai Palmkvist
Рет қаралды 145 М.
Changing Headers On Scroll with Elementor Sticky Headers
11:11
Jeffrey @ Lytbox
Рет қаралды 133 М.
A flexbox trick to improve text wrapping
5:02
Kevin Powell
Рет қаралды 208 М.
How to SEO Optimize Your Elementor Headers & Menus
17:33
Jeffrey @ Lytbox
Рет қаралды 8 М.
How to Create a Transparent Header & Menu with Elementor
8:01
Jeffrey @ Lytbox
Рет қаралды 53 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 308 М.
Алексей Щербаков разнес ВДВшников
00:47