Changing Headers On Scroll with Elementor Sticky Headers
HTML-код
- Опубликовано: 25 авг 2024
- ✨ Join us in the Lytbox Academy Community:
lytboxacademy....
My goal is to create a community for Web Designers, Developers, Freelancers, and Elementor enthusiasts to learn the design & business side of creating websites.
Got questions? You can reach me anytime - lytboxacademy....
CSS code has been moved to my blog post.
Find the CSS here 👉 lytboxacademy....
/////
✨ Learn High-Level Web Design Skills With Me:
🟢 Master Elementor while learning web design skills:
lytboxacademy....
🟢 Learn powerful SEO in an easy-to-follow style for WordPress users and web designers:
lytboxacademy....
🟢 A step-by-step guide to building a WordPress Maintenance Business that results in high MRR:
lytboxacademy....
🟢 Become a Lytbox Academy Pro Member:
lytboxacademy....
/////
✨ My Recommended WordPress & Web Design Tools:
👉 The hosting I use:
Cloudways (use promo code LYTBOX for 30% off 3/months)
lytboxacademy....
xCloud:
lytboxacademy....
/////
👉 My WordPress Tools:
Elementor Pro:
lytboxacademy....
Breakdance Builder:
lytboxacademy....
Bricks Builder:
lytboxacademy....
Crocoblock:
lytboxacademy....
SEOPress (the best SEO tool for WordPress!):
lytboxacademy....
Perfmatters:
lytboxacademy....
InstaWP:
lytboxacademy....
WP Umbrella:
lytboxacademy....
/////
Timestamps:
Start tutorial: 1:20
Adding headers: 2:15
Adding CSS classes: 4:22
Adding CSS: 6:47
Adding Sticky Effect: 7:10
Thank you for supporting my channel 🙏 - Jeffrey @ Lytbox
#elementortutorial #elementorheaders #elementorstickyheaders
Man God bless you, you just saved me !!! i have been scrolling on youtube since two days now looking for this change of header effect, have watch countless videos and each time i don't get what i want i feel like crying
Deleted my website header yesterday by accident and had to redo it as fast as possible. THIS IS THE FASTEST video tutorial I have found. Give the man a medal!!
Haha so glad to hear!!!
OMG I was searching for this solution and couldn't find it. And then I found this video that was EXACTLY what I needed! Thank you so much!
I'm so glad to hear! Thanks!
I like the cam, so clearly. And the light of the room is awesome. So natural since I saw your dog so relax. I like this better than dark room 😁 anyway thanks for the header tips n tutorial
Thanks Clement! That's Yoda in the background. Always chillin' 😎
@@LytboxStudio Yoda is like a boss hahaha awesome 😁
THANK YOU!!! This fixed exactly what I've been looking for the past couple of hours :D
So glad to hear. Thanks! 🙏
Perfect thank you ! It works perfect, I choose 2nde option personaly (fade in)
Perfect! Many Thanks 🙏💜
Thank you so much! Watched the video and read through the blog simultaneously. I've been struggling to get this feature added and it now works great!
So glad to hear it worked for you! Thanks!
@@LytboxStudio Quick question.. I've added this feature and it works great however when I switch to mobile few it's not looking/work as great. any insight?
You are the best!, please keep making videos like this, it helped me very much
Much thanks! 🙏 ❤️
This is awesome! You are really doing a service by providing us these tutorials for free.
Many Thanks 🙏💜
Thank you! I really appreciate you making this in response to my question on one of your other videos. It took me a while to get to it as I was focusing on other aspects of the site this past week, but I was able to do it this evening and it worked perfectly.
So glad to hear!
@@LytboxStudio Hi, again! Although I said that the header was working really well, I realise now that I'm testing everything for responsiveness that there's a place between the 768px and 1025px breakpoints where the header overlaps the page title. I've tried creating a third header as a responsive header but even that's overlapping the page title. Increasing the 768px breakpoint doesn't help much and, as far as everything else is concerned, I'd rather the breakpoint remain as is. As the site is essentially ready to go other than this issue, I've just quietly made the site live so I can ask a few folk to try it out on different screen sizes, rather than my relying on shrinking my browser. If you've got a moment to take a look at the issue and perhaps figure out what I'm missing I'd be hugely grateful. I realise I'm asking you to take time doing this but it could, of course, give you another video topic. 😊 If so, the URL is jamesperloff.net
Thank you. Great tutorial. Might want to mention that you should remove the negative top margin for mobile resolutions.
Thank you so much! I saw many tutorials with the same info. But because you explained what was everything I found out why it didn't work for me!
Hello! First of all thanks for the tutorial Jeffrey. You explain it very well :)
I have done it and I have several issues in mobile. It works perfectly on desktop but on mobile there are different errors in Chrome and Safari. In the first the 2 headers overlap and in Safari when loading the page the header does not exist, only when you scroll down the second one appears and when you scroll up the first one appears.
Thanks man! :)
Just tried it with the lastest elementor version. It works pretty great! only with the Fade out Css, but it all worked out changing the transition value from: opacity to all, and cutting the !important in the last statement. Thank you very much!
this is so helpful bro. I was in trouble to do this. after all it's done. thank you so much for your great video tutorial bro. appreciate more videos from you bro.
Hey Ashif thanks! I really appreciate that 🙏
Great tutorial. I was looking for exactly this function, thank you very much
Great to hear!
Thx for your great tutorial!
Only one suggestion for improvement: maybe its better to put the z-index of the sticky menu to 100 and for scrollin/fadein menu to 101. figured out some issues, while scrolling down with an open mobile menu (dropdown with toggle).
That's a good suggestion. Thanks!
Simple and easy, that's what you made me think. Thanks a lot and keep creating new videos
Big Thanks! 🙏 And I for sure will 💪
I worship at the alter of your skill. You helped me solve a problem i had been trying to solve for days! Thank you
Haha your welcome 😆
One of the best, clear and easy-to-follow tuts I've ever had to pleasure of watching and applying to my site... thank you so much, great job!
So glad to hear it helped. Thanks! 🙏
Great Tutorial.... very simple to understand. Thanks a lot!
Thanks!🙏
Thanks so much I searched this many times on google, but here this.
I’m so glad to hear! Thanks 🙏
The way you explained makes me right away subscribe your channel!
Wow thanks! 🙏
Thank you, that's all i need and i looked for it about couple of hours :D .
So glad to hear!
That's really helpful. I'm using containers, but it works just the same.
Finally!!!!!! thanks!!!! i did a lot of things without results and now with your video, it's solved Thanks crack
Glad to hear!
Great vid, really helped. Straight to the point too. Thanks v much
Thank you Daniel 🙏
Thank you so much! Super thanks
Thanks! 🙏
Thank you . its really help me
Many Thanks 🙏💜
This was dope. Super straight forward, super easy to follow. Implementing this on my new site now. Subscribed.
Many thanks! 🙏
Hi Jeffrey, I rarely ever comment something on RUclips, but I believe u are a real star and truly amazing putting so much great staff online. I didn't manage to make the 2 menus:((, or better the dark menu doesn't disappear and reappear (probably my mistake somehow with the code?) but your videos are amazing. Thx so much. V form Germany
Great video! Thanks a lot! :)
Thanks 🙏 Much appreciated
Super thanks, I always enjoy using your tutorials. Keep up the good work!
Hi nice video, question...How did you make the menu to be automatically in front of the banner, without setting the top margin to negative?
Fantastic tutorial, I finally find out a way to realize my dreams ahaha!!
Haha so good to hear!
Wow, that is awesome!
Thanks for this good tutorial. Very well explained and easy to do!
Greetins from Italy!
Thank you kindly for this Jeffrey. Very good video and you explain it very clearly and succinctly. Much appreciated. You have a new subscriber.
Great tutorial! Greetings from Barcelona, Spain.
Hey, thanks Spain! Much ❤️ from Thailand!
Excellent tutorial, thanks! Clear and to the point with just the right amount of information.
I appreciate that Shawn, thanks! 🙏
This is just what I was looking for. You just earnes yourself a subscriber.
Thanks Marin and I appreciate the sub!
Excellent tutorial. Thank you for sharing :)
Thanks! 🙏
Excelente. Primer tutorial de menú de este estilo para Elementor que encuentro que funciona realmente. Gracias.
Amazing. It is all that I have been looking for. Thanks!
Many Thanks 🙏💜
I really wanted to give big shout out to you, it's an amzing video explaining everything so simply. Great. Pleas share more of such stuffs. Looking for how to create Mega Header, if you have already that's great.
Fantastic tutorial this really helped, really straight forward. Thanks so much!
Thanks!🙏
This was sooooo helpful! Thank you so much!
I am so glad to hear! Thanks!
This is a GREAT tutorial. So straight ahead and super efficient. Thank you, Sir!
Thanks!🙏
I loved the tutorial and I love that dog 🤩
Haha! That's my boy Yoda!
I always felt uncomfortable with learning code ... I'm a graphic designer but looking at his work is so interesting and fun that I definitely want to keep learning ... thanks for your tutorial ...
Thanks and so glad to hear! CSS is a great tool to learn fro us designers. Keep it going!
thanks bro, great work
Thanks! 🙏
All sorted out !! Thx a lot 👍
So glad to hear!
Thanks so much about this header effect, not easy to find a tutoriel for that ! :D
Happy to help!
I like your tutorial. That's very useful. Thank you
Glad it was helpful!
Much Appriciated :)
Thanks!
Thanks of give us this class
Many Thanks 🙏💜
Very very good tutorial. Cheers from Cuba
Thanks and awesome seeing someone for Cuba here! I love how we can all connect like this
Thanks! Very helpful video.
Much appreciated!🙏
Nice and simple! Thank you!
Perhaps on your next video you can include a shrinking logo?
Cheers!
I already did that one 😉 check my other videos and you’ll see the Shrinking Logo
Great tutorial sir. Go ahead. Love from Bangladesh
Thank Farid! ❤️ from Thailand
Thank you, Sir
Great tips! Very useful! Thanks
Thank you for that!🙏
Great! The best tutorial, thanks!
Thanks!
Awesome tutorial! Thank you so much!
Thanks a lot. I learned a lot from you.
Glad to hear that! Many Thanks 🙏💜
Great tutorial! It' works very well 🙌
Thanks! 🙏
Simply the Best!
Many Thanks 🙏💜
Very nice tutorial
Thanks! 🙏
awesome background, the doggy
That's my boy Yoda 💜
thank you so much!!
Thank you very much,my teacher.👍👍
thousand likes ..Thanks a lot
Super helpful, thanks!
So glad to hear. Thanks! 🙏
Thank you, I just subscribed.
Awesome! Thanks for the sub!
Great Tutorial sir😍
I think you should make a full course on advance level wordpress web-development course with code.
Waiting for your response ❤
Thanks! And I have something like that in the works. Cheers 🙏
cheerz man, nice work
Fantastic!!!!!!! Thanks a lot!
Thanks! Much appreciated 🙏
great video.......thank you for this tutorial
Thanks! I appreciate that 🙏
ty so help full
Many Thanks 🙏💜
Love this tutorial. However, I have always the same problem: When I resize my browser, it seems to break - for example, the second header appears again when I first resize it to a small windows and then to full screen again. Any ideas how to fix this? Keep up the great work!
Great video, thanks for posting
For me, it works only in the header theme builder, but once I apply the header to a page, it doesn't work properly. As soon as the effects offset is greater than the translatey value in the CSS, the solid banner does not slide down. If the effects offset is less than or equal to translatey, the solid banner slides down immediately on page load. Great video regardless
Sounds like there's some kind of code conflict happening. Feel free to share a link and I can have a quick look. Cheers!
thank your for your tutorials! you got my subscription:)
Many thanks I appreciate that! 🙏
This what i want, thank you so much!
I am so glad to hear thanks! 🙏
That is a great explanation of enhanced menu sticky. Would you know how to create a menu that when you scroll down the menu scrolls off the screen as in un sticky. When you scroll up the menu appears? It is similar to the Elementor/theme bar they work in a same way. It then makes the screen max size to view and if scrolling up the menu shows so you can move to another page.
Sorry for the late reply, I was taking time off and back now. Were you able to find a solution yet? I do plan to make an updated tutorial and include this option.
you are a genius!
ขอบคุณมากเลยครับ
Kap khun krub! 🙏
Thank you! GREAT tutorial! I only have an issue when i add a woocommerce cart menu. The side cart not working properly with the header-2 (white background). Do you have a solution for this? Thanks!
It's probably going to take a bit more CSS for the side cart. I'll try and update this but could take some time. I try and update all tuts with CSS once a month to keep up to date. I'll check the cart in the menu on the next update
Great tutorial. What about if you want to swap headers between sections? Could you make a tutorial for that?
Sounds interesting. Can you give an example of a header in between sections? What does that layout look like?
Thank You!!!😀
So glad to helped! Thanks 🙏
For some reason the effect offset is not working for me. Otherwise great tutorial. Would love to know the fix though?
thank you fro that!
Fabulous video. Thanks
oh I noticed that the hamburger in the responsive version now is only cliccable when the use has scrolled down (is it on header-2?)
That is not good, because I need the hamburger to work all the time in both versions
You should def sell your amazing custom designs brah!
Haha thanks!
Hi, great job though a quick question - I have followed all your points in the video though when my site is loading from the getgo for a short period (a second or two) both logos overlap at the top - as the screen (even though they are aligned with Elementor as per your instructions using negative margin). The question is that as this very informative video was was made three years ago are there any updates i.e. the Safari bug you described etc or a fix so that the two logos are not flashed for a few seconds when loading - please let us know - thanks McNott
I’ve updated the code periodically to keep up with Elementor’s updates. It could be a CLS issue (cumulative layout shift). Sometimes a performance plugin and lay loading can cause this and sometimes a pre-load can fix. It’s hard to say. Try deactivating your performance plugin, clear the cache and see if it still happens.
Great Tutorial, even greater presentation. Fun and easy to follow. Implementing wasn't as smooth as in the tutorial but I got it to work. However, in my case the menu of the transparent header is not clickable. I guess you cannot have tow menus lying on top of each other and having the same links?
Sorry for the late reply, I was taking time off and back now. Were you able to find a fix and get it working for you? This sounds like the z-index needs to be adjusted
Thanks bro...you made my day ❤️
Thanks! So glad to hear 🙏
there is responsive issue when we reduce the size of screen slowly its gonna give us white spaces ...
Great Job 👍
Thank you! Cheers!
¡Thanks, nice tutorial!