🔥Here are CSS and the link to get Elementor Pro (I am an affiliate and appreciate your support 😊) elementor.com/pricing/?ref=4977&campaign=yt 👨💻Here is the CSS to copy and paste: /*-- SHRINKING LOGO --*/ /*-- New class when sticky is turned on 'elementor-sticky--effects' --*/ /*-- give the logo image a class called 'sticky-logo' --*/ .elementor-sticky--effects .sticky-logo img { width: 120px!important;/*-- edit the pixels to change to desired shrinking size --*/ } .sticky-logo img { transition: .5s all ease-in-out; } @media screen and (max-width: 767px) { .elementor-sticky--effects .sticky-logo img { width: 90px!important;/*-- edit the pixels to change to desired shrinking size for mobile --*/ } }
@clementyo45264 жыл бұрын
woow it works inspirasiwebsite.com/ ^^ but on mobile is not as smooth as desktop. any tips? ^^
@LytboxStudio4 жыл бұрын
@@clementyo4526 for Mobile I would use only a slight shrink effect. Maybe just 20-30 pixels to make it smoother.
@clementyo45264 жыл бұрын
@@LytboxStudio okay thanks. I will try 🙏😁
@angelahunt50268 ай бұрын
2024 and still works like a charm, saved me a ton of time! Thank you!
@LytboxStudio8 ай бұрын
That’s great to hear! I’ve done some updates making sure it’s still good with the latest version of Elementor 😉
@NataliaYockelle Жыл бұрын
Hello, thanks great tutorial! Question: what might be the reason my my logo is shrinking on page load, instead after scroll?
@RafaJurkowski Жыл бұрын
Hello from 2023 - still works fine! Thank You!
@HuubVile Жыл бұрын
Hello! Thank you for this great tutorial. It worked perfectly last time. However, I've had to redo the header and now I don't get the transition to work. What could be the issue?
@scottpickering80173 жыл бұрын
GREAT VIDEO!!! Your instructions are easy to follow and it worked for me on the first try. Thank You.
@LytboxStudio2 жыл бұрын
Glad it helped! Many Thanks 🙏💜
@mtnpfi4 ай бұрын
Hi Jeffrey, thanks a lot for this. It works great on desktop/tablet but strangely not on mobile - do you have any idea why this could be? The logo is set to px! Thx : )
@LytboxStudio4 ай бұрын
You might need some adjustments for mobile. All sites are different and some need a few tweaks
@derleuchtturmwarter58662 жыл бұрын
Perfectly explained! Thank you so much!
@LytboxStudio2 жыл бұрын
You're very welcome! And big thanks! 🙏
@THEOLDCARSHOW Жыл бұрын
Great teacher thanks for your info
@RiccardoLopez3 жыл бұрын
Hi! i would like my entire section to get smaller when the logo shrinks (just like in your video) but i can't achieve that..i followed every step of your tutorial. Thank you so much!
@LytboxStudio3 жыл бұрын
I do plan on making a fully shrinking menu. I will have that out very soon!
@vafixer88853 жыл бұрын
Hey man, just want to say your content is the best on elementor right now, I always keep coming back to a few of your videos and I notice my general skill even knowledge of css has improved just by seeing how everything works together, thanks for all you do I hope you do well.
@LytboxStudio3 жыл бұрын
Wow I really appreciate that! Many thanks! 🙏
@Am_ro12 Жыл бұрын
Completely agree - Jeffrey is killing it!
@davidescardo6065 Жыл бұрын
Hi. Great tutorial, it works very well. However, when you scroll up and the header grows again, a white gap always appears between the header and the next Section/Container, because the growth is not fast enough. Is there a way to avoid that white gap without having to accelerate the transition and lose the smoothness? If not, is there a way to make the header shrink when scrolling down, and not grow again when scrolling up, that is, to make it stay shrunk? Thanks!
@davidescardo6065 Жыл бұрын
Clarification: You don't notice the problem when the section/container following the header has a white background. You notice it if the background of the section/container is coloured or has a background image.
@virginiaciancia Жыл бұрын
U r the best bro! blessings from Argentina ♥
@laurenkay11044 жыл бұрын
Super helpful. Thanks Jeff!
@LytboxStudio4 жыл бұрын
Lauren Kay thanks!
@original-music2 жыл бұрын
Great video. Did you post the css code? Cant find it.
@LytboxStudio2 жыл бұрын
Thanks! And yes you can find the CSS in the top comment pinned to the top
@mattharris86222 жыл бұрын
Thank you, great tutorial!
@LytboxStudio2 жыл бұрын
Thanks Matt! I appreciate this
@declanc57264 жыл бұрын
That is brilliant, thanks. I didn't think I would get it to work but I did. It's made such a difference as I really wanted to be able to shrink it.
@LytboxStudio4 жыл бұрын
That’s great! I am glad to hear you got it to work.
@rubenvanbochove5893 жыл бұрын
He great tutorial! The transition time doesn't work, any suggestion?
@LytboxStudio3 жыл бұрын
There has been some logos not transitioning. I have been meaning to add a fix to this. Can you share your link and I can take a quick look and see why
@imagesin36044 жыл бұрын
Fantastic, please keep em coming.
@LytboxStudio3 жыл бұрын
Thanks, will do!
@lucaszinner79924 жыл бұрын
Excellent tutorial, ideal for beginners
@LytboxStudio4 жыл бұрын
Lucas Zinner thanks mate!
@andonisr3 жыл бұрын
Just saw this video too (asked if you could make it in your other video with the 2 headers). But, where is the css? I wrote it by hand:-)
@LytboxStudio3 жыл бұрын
It’s pinned in the top comment
@mohamadkarim93372 жыл бұрын
Hello, I hope you are well. I have a question. In Elementor, is it possible to give animation to an element (preferably of image type) that has animation without hovering once every few seconds? I searched a lot, but finally, I found you to be the solution to my problem. Much love.
@JoeGator234 жыл бұрын
Keep up the great work... great presentation for those that want to learn.
@LytboxStudio3 жыл бұрын
Sorry I missed your comment. It slipped by me. Much thanks!🙏
@JoeGator233 жыл бұрын
@@LytboxStudio Great channel and content... Keep up the good work and happy holidays to you! :)
@tamarbrown48043 жыл бұрын
Great video! Clear instructions, and to the point! Thanks for sharing.
@LytboxStudio3 жыл бұрын
Thanks!🙏
@laurianehaydari13993 жыл бұрын
Hi ! Thank you so much for this tutorial. Unfortunatly, this is not working on my website.. I did copy and paste your code and followed all the giving steps but it doesn't change anything. Can you help me please ?
@LytboxStudio3 жыл бұрын
Sure can you share a link to your website and I can take a look. You can share here or DM me on Instagram here - instagram.com/lytbox_co/
@hannaaverkamp-peters89504 жыл бұрын
Duuude, thx!! I was looking for an answer to my issue for about 3 h :D so happy I found your vid.
@LytboxStudio3 жыл бұрын
Glad to hear it!
@Kipcab3 жыл бұрын
Great stuff. Is it possible to transition the logo & background into a different colour (like your other tutorial) but also shrink too?
@LytboxStudio3 жыл бұрын
It’s definitely possible. You can combine the different sticky effects from both videos
@leomostaza4 жыл бұрын
Great and Simple solution
@LytboxStudio3 жыл бұрын
Thanks!
@denissafronov9243 жыл бұрын
Thank you!
@LytboxStudio3 жыл бұрын
Your welcome 🙏
@MrNoScore233 жыл бұрын
Such a good mentor! The Video well explained, easy to understand. Thanks for sharing this beautiful trick. I was about to join your group but, unfortunately the group is not available. Is there any way just to join your group to improve our skills?
@LytboxStudio3 жыл бұрын
Try this link to our group - facebook.com/groups/buildwithelementor If you are having trouble getting in, message me on Facebook - facebook.com/lytbox
@kumarharshvardhan97853 жыл бұрын
It worked fine. Thank you
@LytboxStudio3 жыл бұрын
That's great to hear. Thanks!
@xBartyIL3 жыл бұрын
If i dont want to use PX and use PERCENTAGE instead, how do i do that?
@LytboxStudio3 жыл бұрын
You would just need to adjust the CSS. But I would always suggest to use PX for the logo size and adjust for different device sizes. It gives more control on how the logo will appear.
@designsosimple22693 жыл бұрын
Great vids bud. I love the way you explain how each bit of the CSS works, so we can learn what changes what, rather than blindly copy and pasting. So I was wondering having seen your swap logo video also how I could use both of these to affect a swap of the full logo to the logo icon only and at the same time do a smooth shrink on scroll? For example, if I had the Nike logotype 'with the swoosh', but when I scroll, I was just left with a smaller version of the swoosh icon only (without Nike type) in the sticky header. Any thoughts if it's not too much trouble, how we could make these two videos work together? TIA
@LytboxStudio3 жыл бұрын
That's a really good idea and is actually one of my next videos. I am working on it now and should be out in a couple weeks. I am making a video to combine all effects and make a fully shrinking navbar including full logo changing to the logo mark. I had this video on my list and your comment pushed it to the top! I'll have it out soon
@designsosimple22693 жыл бұрын
@@LytboxStudio thank you bud, can't wait, hopefully soon please 🙏
@sonpy68stella3 жыл бұрын
Thank you so much!! Your tutorial is simple and clear. It helped me a lot!
@LytboxStudio3 жыл бұрын
I’s so glad to hear it helped!
@shahzadhaider91953 жыл бұрын
Another great video.
@LytboxStudio3 жыл бұрын
Thanks mate! 🙏
@diagosa3 жыл бұрын
Thanks so much man, it's worked ;)
@LytboxStudio3 жыл бұрын
Great! Glad too hear
@ryansaving65764 жыл бұрын
Great content......!....very helpful.....! thanks mate
@LytboxStudio4 жыл бұрын
Thanks mate!
@srjorge924 жыл бұрын
very good tips, I have a query hopefully you can help me ... by making my image smaller it gets pixelated a lot .. it is in .png format and it is made to the initial size that will be in the header .. any advice?
@LytboxStudio4 жыл бұрын
jorge morales PNGs are not the best format for logos. They’re usually blurry and have large file sizes. Usually the only way to give them high resolution is to make their size very large which isnt a good solution. If you can, try to have your logo remade as an SVG that would be the best solution. With AI this can be done easily.
@srjorge924 жыл бұрын
@@LytboxStudio thanks for your help!!
@larsbrofgunordgrafisk22712 жыл бұрын
thanks for a great video :-) Is there any way to make this work the same way with a text instead of a image?
@LytboxStudio2 жыл бұрын
Yes you can! You'd need to do some minor adjustments to the CSS
@EdoardoResta Жыл бұрын
thank you so much
@stephanieclark90493 жыл бұрын
I'm having a hard time combining this effect with your last tutorial of changing the logo color on scroll. I tried adding both class id to the d-logo but it only sort of works, meaning the logo still changes to the d-logo and it does get smaller but the menu doesn't decrease in height along with it and the size decrease acts like there's not timing in the code. Any help would be so appreciated!
@stephanieclark90493 жыл бұрын
It seem whichever dose come first int he CSS, the effect takes precedent
@LytboxStudio2 жыл бұрын
Hey Stephanie, I responded to your other comment. Let me know if you were able to fix it or could still use help with it. Thanks
@biguiz643 жыл бұрын
Thanks, very helpfull !
@LytboxStudio3 жыл бұрын
Thanks! I appreciate it 🙏
@naheedakhanam86084 жыл бұрын
Love this thanks for sharing.. :)
@LytboxStudio3 жыл бұрын
You are so welcome!
@andrestachiz57683 жыл бұрын
Hello, it seems to be shrinking the logo immediatly and not when I scroll down, what am I doing wrong? Thanks.
@LytboxStudio3 жыл бұрын
what did you set in the 'Effects Offset'?
@leandrolabrana62544 жыл бұрын
Hi! Thanks for your video it was really helpful. I've got a question for you, what if I'd like to make the entire navigation nav to shrink?. I've been trying out for a week and I can't make it shrink! LOL . Cheers!
@LytboxStudio4 жыл бұрын
To shrink the whole header you can shrink the section padding using the same technique. Try setting the section padding top and bottom to 10px and adding this CSS snippet - .elementor-sticky-effects { padding-top: 6px!important; padding-bottom: 6px!important; } You can play with the padding top and bottom pixels to adjust to how much shrink. Let me know if this works
@leandrolabrana62544 жыл бұрын
@@LytboxStudio Thank you so much!! I'll try that!. Greetings from Argentina!.
@peadly43283 жыл бұрын
@@LytboxStudio how can i ease this transition ? cant find, thanks buddy
@randydims47663 жыл бұрын
Great, thank you !
@LytboxStudio3 жыл бұрын
Thanks! 🙏
@ahylinalmonte53124 жыл бұрын
Hi, I have followed all the steps and only the logo seems to shrink, the nav bar doesnt, has something changed or its just me I havent followed the steps correctly? Thank you very much for the tutorial btw
@LytboxStudio4 жыл бұрын
Hey, you’re correct, only the logo shrinks, not the whole navbar. You would need to apply the same technique to the section padding to make the whole navbar shrink. I am about to make a new video on this showing how to shrink the the entire navbar since it has come up a few time. It’s on my list and should be out in less than 2 weeks.
@LytboxStudio4 жыл бұрын
Check where adding the top and bottom padding. I only apply padding to the section and not any of the elements inside to the section like the menu and logo. Try removing padding from everything and then only apply to the section. There should be more of an overall shrinking effect when the logo shrinks
@ahylinalmonte53124 жыл бұрын
@@LytboxStudio okay thank you very much, really appreciate the help. Keep up with the tutorials, probably the best I have been able to find on youtube.
@ahylinalmonte53124 жыл бұрын
@@LytboxStudio btw, another great tutorial I havent been able to find yet for elementor is changing the nav bar animation, right now with elemetor pro I believe you can only put a small underline under the text of the menu but in some cases it wont be smooth enough. The ultimate addons for elementor I think there is an addon which is used to change this but it would be great if it could be done with CSS without any need of external plugins.
@ahylinalmonte53124 жыл бұрын
@@LytboxStudio Best tutorial by far would be change logo + shrink logo + change header color + shrink header.
@luisant.delgadocarrasco92014 жыл бұрын
Muchas Gracias, me ayudó mucho este tips, saludos desde Perú
@LytboxStudio3 жыл бұрын
Sorry I missed your comment. It slipped by me. So glad it helped. Alright Peru!
@florenciavanmeegroot51722 жыл бұрын
Hello. I have managed to change the logo with css including the content url, the problem is that the logo for example with the sticky effect stops having the click function. Do you know how to make it continue to have the function of clicking it and taking you to the home of the site?
@SB-cy2hv2 жыл бұрын
I have the same problem. Does anyone have a solution?
@LytboxStudio2 жыл бұрын
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? Both logos should have the link set. And if it's still not working, then it's probably the z-index that needs to be checked. Let me know if you got it working or could use some help. Cheers!
@peadly43283 жыл бұрын
Have only my logo shrinking, how can i shrink all the header ? thanks
@Mr.MajesticAnime3 жыл бұрын
Sir. How did you do on only Logo Shrinking and how header are Fixed position?? can i know?
@LytboxStudio3 жыл бұрын
Hey Peadly, I am currently working on another video that combines all the effects I used including shrinking everything in the header. Gove me a week or two and I'll have it posted
@LytboxStudio3 жыл бұрын
@@Mr.MajesticAnime this video shows how to do that if followed step by step. Is there a reason it is not working for you?
@hg3933 жыл бұрын
Damn I was expect 746k subs, not just 746. You're doing amazing!
@LytboxStudio3 жыл бұрын
Haha thanks!
@papayawebmedia3 жыл бұрын
Great vide but... Sorry, I miss something? Where is de CSS code? Thk.
@LytboxStudio3 жыл бұрын
Thanks. The CSS is in the comments pinned to the top
@clementyo45264 жыл бұрын
I want to be friend too 😁 I was almost panic when heard CSS 😅 but it is gone when you showed me that was easy 😁👍 thanks man
@LytboxStudio3 жыл бұрын
No problem 😊
@Mr.MajesticAnime3 жыл бұрын
Sir Can you tech me mw how to do logo only are Shrinking and header are fixed?
@LytboxStudio3 жыл бұрын
Where you able to make your logo shrink on scroll using this video? It should show step by step. By using Elemetor sticky top, it will make the header fixed. Let me know if this works for you. And if not give me more details. Thanks
@Mr.MajesticAnime3 жыл бұрын
@@LytboxStudio Hello sir just like this website. their logo are Shrinking. www.kappaalphaorder.org/
@LytboxStudio3 жыл бұрын
@@Mr.MajesticAnime I see. This video tutorial shows how to do this exact effect as the example website you sent with Elementor pro. Were you able to follow the tutorial? Did it work for you once you followed the tutorial step by step?
@remyas78532 жыл бұрын
thanks
@LytboxStudio2 жыл бұрын
Many Thanks 🙏💜
@debjeetm41992 жыл бұрын
Brilliant.. love from Incredible India...subbed. now commented also..haha
@LytboxStudio2 жыл бұрын
Many Thanks 🙏💜
@bySterling4 жыл бұрын
Awesome!
@LytboxStudio3 жыл бұрын
Thanks!
@LytboxStudio3 жыл бұрын
Sorry I missed your comment. It slipped by me. Were you able to figure it out? If not, let me know and share a link., i'll check it out
@roxanadegiovanni3 жыл бұрын
Genial! Thank you very much!
@LytboxStudio3 жыл бұрын
Thanks! I appreciate it 🙏
@brianschnurr32543 жыл бұрын
Subscribed!
@LytboxStudio3 жыл бұрын
Awesome thanks!
@leaf_fan_b38294 жыл бұрын
How can you add logo to navbar only when its scrolling down ?
@LytboxStudio4 жыл бұрын
This can be done by giving your logo a class such as my-logo and then hide the logo with CSS. It should look something like - .my-logo img { display: none;} after add the CSS .elementor-sticky-effects .my-logo img { display: inline-block!important; } And make sure to set up the sticky in the Elementor settings for the section like in the video. Let me know if this works.
@leaf_fan_b38294 жыл бұрын
@@LytboxStudio i got to hide but when i add elementor-sticky-effects my logo { display: inline-block!important; } it shows up again even when not scrolling what did i do wrong
@LytboxStudio4 жыл бұрын
@@leaf_fan_b3829 can you share a link?
@leaf_fan_b38294 жыл бұрын
@@LytboxStudio i did this in the sticking narv bar css .elementor-sticky--effects .sticky-logo img { width: 120px!important;/*-- edit the pixels to change to desired shrinking size --*/ } .sticky-logo img { transition: .5s all ease-in-out; } @media screen and (max-width: 767px) { .elementor-sticky--effects .sticky-logo img { width: 90px!important;/*-- edit the pixels to change to desired shrinking size for mobile --*/ } } .my-logo img{ display: inline-block !important; }
@mmb8112 жыл бұрын
does not work in combination with woocommerce single product variation. To Replicate: Add a product with variant (eg shoe size) to woocommerce go to that product's single product screen Scroll just enough until the shrink effect on header kicks in Now select a different shoe size from the drop down Once selected, the single product image will jump, and now when you scroll back up, it will not scroll all the way up, until you re-select a different shoe size from the drop down/or/refresh the page. It seems that when the shrink effect kicks in, woocommerce does not realize that header is narrow, and incorrectly calculates page height
@LytboxStudio2 жыл бұрын
Thanks for reporting this. Of course there are unforseen factors and this helps. Did you find a fix? And if not, you can share a link with me and I can help find a fix.
@mmb8112 жыл бұрын
@@LytboxStudio On my ticket, the devs have reported that this has now been fixed in the latest update
@LytboxStudio2 жыл бұрын
@@mmb811 glad to hear!
@NorlynCodes2 жыл бұрын
Hey! I think if you'll teach coding, you'll do a very good job. Thank you for this video!
@LytboxStudio2 жыл бұрын
Hey thanks! I appreciate that 🙏
@kikopobla3 жыл бұрын
Thanks x10000
@LytboxStudio3 жыл бұрын
Your welcome!xs100000000
@xBartyIL3 жыл бұрын
i followed step by step and nothing works. cant understand why ....
@LytboxStudio3 жыл бұрын
Can you share a link?
@qurbanali60832 жыл бұрын
css not found
@LytboxStudio2 жыл бұрын
It’s in the comment pinned to the top
@nooster1252 жыл бұрын
good luck if you're using crockoblocks :( great video tho!
@LytboxStudio2 жыл бұрын
What issue do you face with CB? And which CB plug-in? Would be great to know. I’m currently making an updated version and I’d want to make sure it’s compatible with Croco
@nooster1252 жыл бұрын
@@LytboxStudio im just using the jet elements plugin and jet menu buuut I found a solution and its even easier than elementor here it is: Just add a class to the logo image and paste this code in to css: .jet-sticky-section--stuck .logo{ width:150px!important; transition: width .7s ease; } that did the trick for me!