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

Комментарии • 379

  • @bytecrusader
    @bytecrusader Месяц назад +1

    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

  • @iZonama
    @iZonama 2 года назад

    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!!

  • @bernardomaia6855
    @bernardomaia6855 2 года назад +1

    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!

  • @clementyo4526
    @clementyo4526 3 года назад +1

    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

    • @LytboxStudio
      @LytboxStudio  3 года назад +1

      Thanks Clement! That's Yoda in the background. Always chillin' 😎

    • @clementyo4526
      @clementyo4526 3 года назад

      @@LytboxStudio Yoda is like a boss hahaha awesome 😁

  • @DanielMarinMusic
    @DanielMarinMusic 3 года назад +3

    THANK YOU!!! This fixed exactly what I've been looking for the past couple of hours :D

  • @hugo0672
    @hugo0672 2 года назад +1

    Perfect thank you ! It works perfect, I choose 2nde option personaly (fade in)

  • @nicholasleitten8946
    @nicholasleitten8946 3 года назад +1

    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!

    • @LytboxStudio
      @LytboxStudio  3 года назад

      So glad to hear it worked for you! Thanks!

    • @nicholasleitten8946
      @nicholasleitten8946 3 года назад

      @@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?

  • @lj1634
    @lj1634 3 года назад +2

    You are the best!, please keep making videos like this, it helped me very much

  • @amishagarwal3151
    @amishagarwal3151 2 года назад +2

    This is awesome! You are really doing a service by providing us these tutorials for free.

  • @katharinemadden
    @katharinemadden 3 года назад +3

    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.

    • @LytboxStudio
      @LytboxStudio  3 года назад

      So glad to hear!

    • @katharinemadden
      @katharinemadden 3 года назад

      @@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

  • @BernieDisantis
    @BernieDisantis Месяц назад

    Thank you. Great tutorial. Might want to mention that you should remove the negative top margin for mobile resolutions.

  • @paoladi0405
    @paoladi0405 10 месяцев назад

    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!

  • @Rigoberto713
    @Rigoberto713 2 года назад +4

    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! :)

  • @keyzack
    @keyzack Год назад

    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!

  • @developerashifahmed894
    @developerashifahmed894 2 года назад +1

    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.

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Hey Ashif thanks! I really appreciate that 🙏

  • @oscar_alopez
    @oscar_alopez 3 года назад +3

    Great tutorial. I was looking for exactly this function, thank you very much

  • @nilsinovic6677
    @nilsinovic6677 3 года назад +6

    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).

    • @LytboxStudio
      @LytboxStudio  3 года назад +1

      That's a good suggestion. Thanks!

  • @mystcam
    @mystcam 2 года назад +1

    Simple and easy, that's what you made me think. Thanks a lot and keep creating new videos

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Big Thanks! 🙏 And I for sure will 💪

  • @abbytonyardor3701
    @abbytonyardor3701 2 года назад

    I worship at the alter of your skill. You helped me solve a problem i had been trying to solve for days! Thank you

  • @Valitzu777
    @Valitzu777 3 года назад +1

    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!

    • @LytboxStudio
      @LytboxStudio  3 года назад

      So glad to hear it helped. Thanks! 🙏

  • @romina9268
    @romina9268 Год назад +1

    Great Tutorial.... very simple to understand. Thanks a lot!

  • @diagosa
    @diagosa 3 года назад +1

    Thanks so much I searched this many times on google, but here this.

    • @LytboxStudio
      @LytboxStudio  3 года назад

      I’m so glad to hear! Thanks 🙏

  • @nadellaella6416
    @nadellaella6416 2 года назад +1

    The way you explained makes me right away subscribe your channel!

  • @DucVietTran
    @DucVietTran 3 года назад +1

    Thank you, that's all i need and i looked for it about couple of hours :D .

  • @StephenPiddingtonLongbow
    @StephenPiddingtonLongbow 5 месяцев назад

    That's really helpful. I'm using containers, but it works just the same.

  • @hanspaulpons5128
    @hanspaulpons5128 3 года назад +4

    Finally!!!!!! thanks!!!! i did a lot of things without results and now with your video, it's solved Thanks crack

  • @dan87manc
    @dan87manc 2 года назад +1

    Great vid, really helped. Straight to the point too. Thanks v much

  • @alik2044
    @alik2044 3 месяца назад +1

    Thank you so much! Super thanks

  • @morshedsheikh2129
    @morshedsheikh2129 2 года назад +1

    Thank you . its really help me

  • @taylorpatterson5871
    @taylorpatterson5871 3 года назад +1

    This was dope. Super straight forward, super easy to follow. Implementing this on my new site now. Subscribed.

  • @Simcha_
    @Simcha_ 2 года назад

    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

  • @FirstTheyIgnoreYou
    @FirstTheyIgnoreYou 3 года назад +2

    Great video! Thanks a lot! :)

  • @DeoptochtSchaijk
    @DeoptochtSchaijk Год назад

    Super thanks, I always enjoy using your tutorials. Keep up the good work!

  • @kaiserobaldia7207
    @kaiserobaldia7207 2 года назад +5

    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?

  • @mattiamamini403
    @mattiamamini403 3 года назад +1

    Fantastic tutorial, I finally find out a way to realize my dreams ahaha!!

  • @WernerHohenegger
    @WernerHohenegger 5 месяцев назад

    Wow, that is awesome!
    Thanks for this good tutorial. Very well explained and easy to do!
    Greetins from Italy!

  • @dreubz6888
    @dreubz6888 Год назад

    Thank you kindly for this Jeffrey. Very good video and you explain it very clearly and succinctly. Much appreciated. You have a new subscriber.

  • @joseauriol6653
    @joseauriol6653 3 года назад +1

    Great tutorial! Greetings from Barcelona, Spain.

    • @LytboxStudio
      @LytboxStudio  3 года назад

      Hey, thanks Spain! Much ❤️ from Thailand!

  • @WShawn
    @WShawn 3 года назад +1

    Excellent tutorial, thanks! Clear and to the point with just the right amount of information.

    • @LytboxStudio
      @LytboxStudio  3 года назад

      I appreciate that Shawn, thanks! 🙏

  • @martinkarugaba
    @martinkarugaba 2 года назад

    This is just what I was looking for. You just earnes yourself a subscriber.

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Thanks Marin and I appreciate the sub!

  • @stephencree3076
    @stephencree3076 2 года назад +1

    Excellent tutorial. Thank you for sharing :)

  • @diegoviale4548
    @diegoviale4548 Год назад

    Excelente. Primer tutorial de menú de este estilo para Elementor que encuentro que funciona realmente. Gracias.

  • @sixartmedia
    @sixartmedia 2 года назад +1

    Amazing. It is all that I have been looking for. Thanks!

  • @asfaque20
    @asfaque20 Год назад

    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.

  • @rockerbellas
    @rockerbellas 3 года назад +1

    Fantastic tutorial this really helped, really straight forward. Thanks so much!

  • @anastasiasemeniuk779
    @anastasiasemeniuk779 3 года назад +1

    This was sooooo helpful! Thank you so much!

  • @brandcampagency6141
    @brandcampagency6141 3 года назад +1

    This is a GREAT tutorial. So straight ahead and super efficient. Thank you, Sir!

  • @patriciabirovescu7690
    @patriciabirovescu7690 2 года назад +1

    I loved the tutorial and I love that dog 🤩

  • @theredmaster_superbee
    @theredmaster_superbee 2 года назад +1

    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 ...

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Thanks and so glad to hear! CSS is a great tool to learn fro us designers. Keep it going!

  • @lekhraj1755
    @lekhraj1755 5 месяцев назад +1

    thanks bro, great work

  • @haraldbiesenbach9501
    @haraldbiesenbach9501 2 года назад +1

    All sorted out !! Thx a lot 👍

  • @arthurrobert3086
    @arthurrobert3086 2 года назад

    Thanks so much about this header effect, not easy to find a tutoriel for that ! :D

  • @hungtrandesign
    @hungtrandesign 3 года назад +1

    I like your tutorial. That's very useful. Thank you

  • @devsdude3305
    @devsdude3305 2 года назад

    Much Appriciated :)

  • @shakilit6854
    @shakilit6854 2 года назад +1

    Thanks of give us this class

  • @arianhernandez4943
    @arianhernandez4943 Год назад +1

    Very very good tutorial. Cheers from Cuba

    • @LytboxStudio
      @LytboxStudio  11 месяцев назад

      Thanks and awesome seeing someone for Cuba here! I love how we can all connect like this

  • @kazishaikh2964
    @kazishaikh2964 3 года назад +1

    Thanks! Very helpful video.

  • @andonisr
    @andonisr 3 года назад +1

    Nice and simple! Thank you!
    Perhaps on your next video you can include a shrinking logo?
    Cheers!

    • @LytboxStudio
      @LytboxStudio  3 года назад

      I already did that one 😉 check my other videos and you’ll see the Shrinking Logo

  • @faridgazi6177
    @faridgazi6177 3 года назад +1

    Great tutorial sir. Go ahead. Love from Bangladesh

    • @LytboxStudio
      @LytboxStudio  3 года назад

      Thank Farid! ❤️ from Thailand

  • @daniwebid
    @daniwebid 20 дней назад

    Thank you, Sir

  • @ventoroverso
    @ventoroverso 3 года назад +1

    Great tips! Very useful! Thanks

  • @joaotract5558
    @joaotract5558 3 года назад +1

    Great! The best tutorial, thanks!

  • @newtrinohair
    @newtrinohair 2 года назад

    Awesome tutorial! Thank you so much!

  • @isurusandaruwan4380
    @isurusandaruwan4380 2 года назад +1

    Thanks a lot. I learned a lot from you.

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Glad to hear that! Many Thanks 🙏💜

  • @cacomartin
    @cacomartin 3 года назад +1

    Great tutorial! It' works very well 🙌

  • @emunot
    @emunot 2 года назад +1

    Simply the Best!

  • @idcashflow
    @idcashflow 2 года назад +1

    Very nice tutorial

  • @ilariamast
    @ilariamast 2 года назад +1

    awesome background, the doggy

  • @user-if2ic2zp5t
    @user-if2ic2zp5t 10 месяцев назад

    thank you so much!!

  • @mobaoart7122
    @mobaoart7122 Год назад

    Thank you very much,my teacher.👍👍

  • @jinatferdouse4945
    @jinatferdouse4945 2 года назад

    thousand likes ..Thanks a lot

  • @patrickmullins1788
    @patrickmullins1788 3 года назад +1

    Super helpful, thanks!

  • @chriss.182
    @chriss.182 2 года назад

    Thank you, I just subscribed.

  • @Abdullah-ow6cf
    @Abdullah-ow6cf 3 года назад +2

    Great Tutorial sir😍
    I think you should make a full course on advance level wordpress web-development course with code.
    Waiting for your response ❤

    • @LytboxStudio
      @LytboxStudio  3 года назад +1

      Thanks! And I have something like that in the works. Cheers 🙏

  • @shaza_laka_zoo2014
    @shaza_laka_zoo2014 Год назад

    cheerz man, nice work

  • @jahaddad2511
    @jahaddad2511 3 года назад +1

    Fantastic!!!!!!! Thanks a lot!

  • @freelancingpro5788
    @freelancingpro5788 3 года назад +1

    great video.......thank you for this tutorial

  • @RaviYadav-vm3xt
    @RaviYadav-vm3xt 2 года назад +1

    ty so help full

  • @BilligeWitze
    @BilligeWitze Год назад +2

    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!

  • @user-xn1iq9nc5m
    @user-xn1iq9nc5m 5 месяцев назад

    Great video, thanks for posting

  • @gabrielzimm1047
    @gabrielzimm1047 2 года назад +1

    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

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Sounds like there's some kind of code conflict happening. Feel free to share a link and I can have a quick look. Cheers!

  • @roschkovofficial
    @roschkovofficial 3 года назад +1

    thank your for your tutorials! you got my subscription:)

    • @LytboxStudio
      @LytboxStudio  3 года назад

      Many thanks I appreciate that! 🙏

  • @nhson47
    @nhson47 3 года назад +1

    This what i want, thank you so much!

    • @LytboxStudio
      @LytboxStudio  3 года назад

      I am so glad to hear thanks! 🙏

  • @mslcreative
    @mslcreative 2 года назад +2

    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.

    • @LytboxStudio
      @LytboxStudio  2 года назад

      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.

  • @XxHeManWomenHaterxX
    @XxHeManWomenHaterxX Год назад

    you are a genius!

  • @itepsnguide
    @itepsnguide 3 года назад +2

    ขอบคุณมากเลยครับ

  • @hancsa100
    @hancsa100 3 месяца назад +1

    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!

    • @LytboxStudio
      @LytboxStudio  2 месяца назад

      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

  • @orlandojpg
    @orlandojpg 2 года назад +1

    Great tutorial. What about if you want to swap headers between sections? Could you make a tutorial for that?

    • @LytboxStudio
      @LytboxStudio  2 года назад

      Sounds interesting. Can you give an example of a header in between sections? What does that layout look like?

  • @MsAdza85
    @MsAdza85 2 года назад

    Thank You!!!😀

    • @LytboxStudio
      @LytboxStudio  2 года назад +1

      So glad to helped! Thanks 🙏

  • @sylvanechoes
    @sylvanechoes 10 месяцев назад

    For some reason the effect offset is not working for me. Otherwise great tutorial. Would love to know the fix though?

  • @ranifrah
    @ranifrah Год назад

    thank you fro that!

  • @PrashantKumar-hm4dt
    @PrashantKumar-hm4dt Год назад

    Fabulous video. Thanks

  • @WernerHohenegger
    @WernerHohenegger 5 месяцев назад

    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

  • @bySterling
    @bySterling 2 года назад +1

    You should def sell your amazing custom designs brah!

  • @csmacnee
    @csmacnee 3 месяца назад +1

    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

    • @LytboxStudio
      @LytboxStudio  3 месяца назад

      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.

  • @haraldbiesenbach9501
    @haraldbiesenbach9501 2 года назад +1

    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?

    • @LytboxStudio
      @LytboxStudio  2 года назад

      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

  • @virenkumar7908
    @virenkumar7908 3 года назад +1

    Thanks bro...you made my day ❤️

  • @muhammadmansha7503
    @muhammadmansha7503 2 года назад

    there is responsive issue when we reduce the size of screen slowly its gonna give us white spaces ...

  • @mohammadyasirrajput9471
    @mohammadyasirrajput9471 2 года назад

    Great Job 👍

  • @victorhugosanchezhuerta5715
    @victorhugosanchezhuerta5715 Год назад

    ¡Thanks, nice tutorial!