A Fully Shrinking Sticky Header On Scroll With Elementor

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

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

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

    Hey everyone the link for the css has been fixed. You can find it here - lytboxacademy.com/shrinking-sticky-header-on-scroll-with-elementor/

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

    Saved this video to my Fave List.

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

      Yo Imran! This means a lot coming from you mate! Cheers🍻

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

    Thank you! This was the 5th or 6th one I watched and the only one that works properly with ability to customize the CSS for more control

  • @katezalewski1513
    @katezalewski1513 11 месяцев назад +1

    Thank you soooo much! I had tried like four other tutorials and was pulling my hair out trying to get my header to shrink, this one finally worked. You rock.

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

      Nice! I’m happy it worked 😁

  • @jessebelleman8070
    @jessebelleman8070 Год назад +7

    Quick tip for minute 12:10. You move the top margin of the section below the header, but you'll have to do this for every new page using this header. Therefore, if you want the header to be the same margin for all pages using this header automatically its better to move the bottom margin of the header template itself. This saved me time having to adjust the margin of every page that uses this header. You probably already figured this out, but might be helpful for new watchers. Anyways thanks for the video!

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

    You're my favourite Elementor / Web Biz guy on the internet! Professional, practical, and I could listen to you all day! Thanks so much for all your help!

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

    I love this guy, also we look like each others. I learned he opened training website. luck be with you bro.

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

    Thank you so much for this video. I have been struggling for days until I came across this video.

  • @nextexitgraff
    @nextexitgraff Год назад +3

    dude I've been bitching and complaining to elementor for almost a year now since THEIR css for this feature stopped working after about version 3.7. THIS works perfectly, even for containers and an svg logo, and I wish I woulda watched this sooner! **EDIT: guess I spoke too soon, I'm noticing that whenever the browser window is adjusted the header doesn't stay full width : /
    ***EDIT EDIT: So I added "width: 100%!important;" before the "background" line in the css, to both sections and it fixed this issue that I see other commenters mentioning!

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

    dude, you straight to the point and it's very useful👏

  • @antoniomaria2012
    @antoniomaria2012 Год назад +3

    Hi @Jeffrey. When I resize the window the header doesnt adjust to desktop.

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

    That's an outstanding tutorial. It worked a treat. Thank you.

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

    Finally, somebody explain very very VERY simple :) thanks.

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

    Another brilliant video!! Man you are literally the best Elementor RUclipsr and I really appreciate your videos! 🙏🏻 👊🏼

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

      Wow, thanks! I really appreciate that 🙏

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

      @@LytboxStudio hey man thank you. Can I ask…all your videos are super helpful and I always learn a lot. But one thing I am struggling with is using elementors Mobile Menu Widget and adding additional buttons. Is that possible? Elementor use it on their own site so I’m guessing it is. When I use a popup menu, on mobile devices the menu items go grey when you tap them which is annoying. I just don’t know how to make a sleek menu like other websites using elementor 😣 Thank you Lytbox 🙏🏻

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

      @@NickRama86 I totally understand and believe mobile menus should have a high priority. I do plan on making a video on designing and building a mobile menu with El within the next couple of weeks. It’s at the top of my list. For now I would suggest using the popup feature for your mobile where you can build your own template that goes in the popup. In the template we can add multiple buttons, socials and design in as we like. I have a video on how to build the mobile with pop ups that can help to get started and I’ll get another one up soon showing more on how to design them as well.

  • @BeeDunc
    @BeeDunc 16 дней назад

    Thank you for this awesome tutorial!

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

    Thank you Jeffrey, excellent video as usual, you are an excellent teacher, I like how you share information, is very easy to follow, keep doing what you are doing

  • @knowalternativetradingco.2545
    @knowalternativetradingco.2545 10 месяцев назад

    You are very helpful and kind. Thanks so much for the help and thoroughness. I learned how to do this header and also learned some other very helpful tricks and tips along the way. Thanks!

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

    mate you're the best. you deserve way more subs.

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

    I'm having trouble getting this to work with a fluid container for some reason.

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

    Thank You So Much I was struggling for that from long time but your video make it simple thank you very much

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

      So glad to hear! Thanks!

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

      @@LytboxStudio Thank You very much for replying

  • @kieransheldonkelleher9161
    @kieransheldonkelleher9161 6 месяцев назад +1

    Thanks mate.
    Really easy to follow and works without issue!

  • @JoeNaab
    @JoeNaab 8 месяцев назад

    Loved it. Thanks so much. I did it using containers and it works great.

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

    Great tutorial! Very good explained and worked for me

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

    Thank you very much. This video really helped me a lot.

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

    Very cool man! I’ll def play with and use!

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

      Glad to hear! And I dig the name “TheWebStylist” Cheers!

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

    great video, is so easy with this guide-video

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

    Fantastic!!! Thanks a lot🙏

  • @TravelingDrukpa
    @TravelingDrukpa 14 дней назад

    Thanks a lot!

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

    Thank you, Jeffrey! For sharing your resources and knowledge. Be healthy and successful! 👍🏻💪🏻

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

    Thanks a lot sir!

  • @louiseglynne-walton1725
    @louiseglynne-walton1725 2 года назад +1

    This is the only video I have found that actually works for a shrinking sticky header! Thank you for this. Just one question: I have added my site title to the right of the logo and before the menu. How could I add a site tagline underneath the site title without it messing up the layout?

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

      Thanks Louise! For your site title and tagline, you can use the Icon Box using the dynamic tags. They are the the right of the title and text input fields. Just hover over the icons and you'll see the Dynamic Tags options show. From there, select the site title and the site tagline and then remove the icon and style as needed. I wish RUclips allowed up to posts images to help;) - Let me know if that works for you! Thanks

  • @ms-webdesign
    @ms-webdesign Год назад

    i got it thank you, i forgot to set !important to color

  • @PatrickMcDermott-z9z
    @PatrickMcDermott-z9z Год назад

    Found your article online and thought it provided instructions for everything I needed for a stick header. Thank you!

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

    Fantastic video and tutorial! My design came out perfect thanks to your guidance. The CSS codes were of a tremendous help. God bless and keep up the good work.

  • @MahmutCamc
    @MahmutCamc 7 месяцев назад

    Hello, the JS part of the code works very well, but there is an error in the CSS part. Header causes problems on different screen sizes.

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

    I love your videos man. Can you please make one on how to land a WordPress job?

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

      Thanks and yes for sure. Finding clients is one of the most important topics to discuss and I have plans to for more videos on this. Thanks! 🙏

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

    Dude! Thanks!!

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

    You referenced the menu that was already built. Do you have a video on building the menu?

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

      I do, quite a few of them. Check out the rest of the videos on Elementor headers and menus in my channel. I can’t show everything in 1 video 😉

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

    This tutorial is really helpful! Thanks Bro. I tried this with the new Flexbox Container feature of elementor and it doesn't work as expected. I hope you can also create a tutorial for that.

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

      A lots change with El. I’ll be making updated tutorials coming real soon

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

    This is the best and most easy video for this topic. Thanks a lot Jeffrey!

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

    absurdly awesome!!! i saved it as a template for every project! can you please add one more thing in a separate video... to switch from logo to icon (switch image)... please 😁

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

      Awesome and thanks! I did try this but the transition looked off. I would suggest for changing a full logo to the logo icon on scroll to use the Changing Headers method. It looks much better and has a seamless transition. Here's a vid I did on this - ruclips.net/video/77BUOsY9kwA/видео.html

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

    Love the videos man, everything works great but I have a question.
    When on my desktop if I make the window smaller and then go to full screen, the 'shrinker' navbar is broken and stays at the same width as it was. Is there a way to fix that?

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

      I have the same issue and I'm banging my head on my screens how to fix that. Please post a fix for that, Thanks

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

      @@alexgauvin also having the same issue!

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

      ​@@katezalewski1513 you have to set width: 100%!important; to .shrinker. That will fix annoying issue

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

    Great video. Works perfect -One question: I have some text in my header - what is the CSS to shrink that also?

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

    Hero!🙌

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

    Question : If we where Shrinking an icon would it be the same as the button ?

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

    Amazing video. Possible to also give a code to change button background and text color on scroll? that will be very helpful

  • @robertlopez112
    @robertlopez112 8 месяцев назад

    Is there a way to also CHANGE the logo within the CSDS code? If so, I would be very interested in this modification...

  • @juanb.274
    @juanb.274 7 месяцев назад

    Hi , thanks for the tut! is there a version that works with containers? On mobile is has a weird behaviour.

  • @Micheline-CorettaMachia-Maimou

    Hello,thanks for the tutorial. Please what if I want it to shrink after delay instead

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

    After using your CSS for over a year, I noticed that it causes some issues with the header responsiveness.

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

    This is a great start but it doesn't reset the width properly. For example, if you try to change the width of the window on desktop, it scales everything down but then when you try to make the window wider it keeps the header the size on mobile. It won't stretch back out responsively.

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

      did you ever find a resolution for this?

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

      @@nextexitgraff No. I just gave up. Was too frustrated to try another route. :-)

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

      I am having the same issue when I converted the header to a container (versus a section).

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

      @@EPHONIC i actually found a solution, i think I posted in a comment here, but (going off memory) it was something like "background width 100% important!". And it totally fixed this problem!

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

    Thank you so much. This is really helping me in my work hahaha. I have a question. Can yo make a tutorial for a header that when you scroll up it shows??? I can't make it work. Thank you so much for all your tutorials .. greetings from Chile hehehe

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

      Hey Christian thanks! I am looking into creating a headed that goes up and down when scrolling. I’ll try to get that tutorial out soon!

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

    Great tutorial! Your explanantin make it very easy. Do you have a solution if you want to make the background transparent but blurry on scroll?

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

    This is great. What if one has two logos? One logo is for big screens and another logo is for smaller screens.

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

    I think I have 2 many elements in my header. My Buttons, Phone and Email all got larger and the transparency never activate.

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

    very great

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

    Great tutorial! Thanks! How can we shrink and change color of the icon and icon box widgets with this css? thanks.

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

      Hey sorry for the late reply. Here is a CSS snippet for an icon to try:
      .shrinker.elementor-sticky--effects .elementor-icon {
      font-size: 20px!important;
      }

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

      @@LytboxStudio will try. Thank you for your help!

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

      Would love to know this too - I'd like to be able to change the colour of an instagram logo in the header. Great video btw.

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

    Thanks for you video. If I need to change the menu font color on scroll? Thanks a lot!

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

    Hey, thanks so much for this. What would I need to change in the code if I was using a Lottie instead of an image as a logo?

  • @ms-webdesign
    @ms-webdesign Год назад

    how can i change the font colour from transparent header to shrinking header

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

    Hello thanks for this video, it really helped me. I'm done shrinking my header, but the only thing that I want to get done is changing the text color, I would like to change it from white to black. Do you have a code for this as well? Thanks in advance!

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

    I have a headline beside the logo.. how can I shrink that?

  • @86Vinks
    @86Vinks 2 года назад +1

    I usually don´t comment but this tutorial was just amazing and under half an hour! Thanks man! Just had to subscribe. Just one question: How do I shrink social media icons? I used your code on selector "elementor-icon" but it only shrinks the padding around the icon and not the icon itself. Has somebody an idea?

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

      Thanks! I did use both, shrinking the icon directly and the padding and went with the padding because it was more consistent. It depends on what is used for the icon, and SVG or font awesome.

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

    Hi,
    great tutorial, thanks!
    I did it and so it works, but only when I am logged in. In incognito browser and also in other browsers like Firefox for example, it doesn't work.
    Can it be that it is because of the containers in Elementor? Your tutorial is still with the older version of Elementor.
    Thanks for your feedback.

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

    Great thanks! But unfortunately when I now start zooming on the page with CTRl & Plus/MInus the header is not 100% percent anymore (I set almost everywhere already a width of full with). Is there a way to force in CSS to stay always at 100%

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

    Question for you - how can you change the colour of the logo and menu text from say white before you start to scroll to black with a white background when you do scroll down? So basically changing the logo and text colours as well on scroll. Thanks much and keep it coming! Very easy to follow along.

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

      did you find an answer?

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

    If you don't want to wait for the link to be fixed you can start/stop the video around 10:17 and manually copy it

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

      Big thanks! I got the link fixed:)

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

      Hi, thanks for the update. I completed your tutorial and it looked great in Elementor but it doesn't appear as it should when live. I was wondering if you could give me some insight into why this is happening?

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

    Hello, i tried it but it is extending my header instead of shrinking it.

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

    Thank you, excellent video as usual and I think I have asked before, but it would be fantastic if you could show how us to shrink elements WITH swap logo (to something like the logo icon) on shrink, with header disappearing on scroll up (on x number of pixels) and the shrinked version sliding down and reappearing on scroll down, with Elementor please?

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

      Hey thanks and amazing idea! I am working on making a header go up and down based on scrolling right now. I did make a video about swapping logos, this can be combined with the shrinking in this video. Let me see how the disappearing header (header going up and down on scroll) goes. Thanks!

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

      @@LytboxStudio excellent, thank you that would be a great help

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

      Would love to see this too

  • @wehavevictory
    @wehavevictory 7 месяцев назад

    Can you do this tutorial for bricks?

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

    Hi there, thanks for the amazing tutorial! I realized it doesn't work with scroll snap (at least not Elementar built-in scroll snap). is there any workaround for this?

  • @harbourdogNL
    @harbourdogNL 7 месяцев назад

    10:36 Now that Sections have been eliminated, does this CSS code need to be updated as well? Thank you.

  • @ms-webdesign
    @ms-webdesign Год назад

    Does not work with flex-container

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

    ive bee trying ur tutorial and when i insert the css code, nothing change to my website header. any suggest?

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

    Thank you for this helpful tutorial. I have a menu with 3 columns structure. Is there any possibility of changing/merging the column structure to 1?

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

      Make another 1 collumn and just drag all the widgets with the pencil (right-top corner of the widget) in to that 1 collumn.

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

    What happens with just a hamburger menu only

  • @calsnoboarder
    @calsnoboarder 4 месяца назад

    Would be great if you revised this video to show how it actually works now with containers... followed the tutorial to the letter and it doesn't work if you have the latest version of Elementor and Elementor pro installed and you don't use an image widget for the logo. I should clarify... you CANNOT use the site logo element (widget)... you HAVE to use the custom image element to make it work.

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

    Hi! Great video - Thanks! But the CSS snippet link is not working. It won't open.

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

      Hi Renee so sorry, it was the wrong link 😅 The link has been fixed

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

    This video is awesome, however the sticky option in my advance menu is not available, could you tell me how to fix it? thanks in advance. your answer will really help a lot.

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

      Hey Derard thanks! Are you using Elementor Pro? And Make sure to either be making the section or main container sticky. Only those two have the sticky option.

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

    hi can you please explain how to change the color of the button on shrink/scroll

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

      It'll take a couple lines of CSS 😅

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

    Adjusted the css a bit for the menu items ''horizontal padding'', after scroll, you want to decrease this a bit, the same % as your typography. So if you'd go from 1.5rem size typography to 1.0rem you decrease it with 33%, same you should do with the horizontal padding.
    /* shrinking menu */
    .shrinker.elementor-sticky--effects ul li a {
    font-size: .95rem!important;
    transition: all .2s linear!important;
    -webkit-transition: all .2s linear!important;
    -moz-transition: all .2s linear!important;
    padding-left: 1.0rem!important;
    padding-right: 1.0rem!important;
    }

  • @CarolinGrant-s7u
    @CarolinGrant-s7u Год назад

    Hi, anyone got some idea why my header is growing instead of shrinking? I got 20px padding top and bottom and 6px each in the shrinking option..

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

    What should i do .. I have two buttons in right side

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

      Two buttons can work. It would take some creativity to make the layout work. One option is to make the second button 100% width and not inline, have it aligned to the right stacked under the single line header and use negative margins to pull it up and into the right place. I hope that made sense...😅

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

    Great tutorial. Having problems with the CSS code, it's giving the error "use of !important" and "the property -o-transition is compatible with -webkit-transition and -moz-transition and should be included as well" Not sure if I need some more code in there to get around this, any suggestions?

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

    Hi I have the problem on mobile. When the header shrinks then the body jumps up, it is not working smooth. May anyone has this issue too?

  • @advanced-developers
    @advanced-developers 2 года назад +1

    Good

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

    A very helpful & useful tutorial. However, your link for the code used isn't working. I'd really like to have access if you'd be kind enough to share. Thank you!

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

      Hey John sorry for that. The links been fixed

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

      @@LytboxStudio Thanks so much. I really enjoyed and appreciate this tutorial. Have a Blessed day!

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

      @@johnboyd8053 to too! Thanks 🙏

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

    So for some reason the moment I add in the CSS For the menu the background and shrinking stops. Any ideas?

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

    Question for your brilliant expertise, please! I used this tutorial and it looks so slick on desktop with a horizontal menu, as you did in the video. But the tablet and mobile versions utilize the hamburger icon, and when you click to drop-down, it only shows the top nav link... the rest of the vertical drop down menu is completely cut off. I tried setting the Z index to 100, and I changed the Elementor Overflow setting from Hidden to Default; but nothing changed. What would you do? Has anyone else run into this? Thanks so much in advance.

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

    Inline (auto) property not working properly with Image. Please help.

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

    How do you get web design clients? I'm a self-tough web designer and i've been struggling for the past 3 months to get high-paying clients

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

      Hey Miguel, that’s an excellent question and I’ve been there. There’s so much to go over to discuss finding clients since there’s many different factors that would determine what would work best for you. To sum it up, I found it comes down to creating our own marketing plans that work best for us individually. I had help when finding my marketing plan in a mastermind group I was a part of.
      I’ve started a mastermind community for web creators to learn at a higher level the business behind web design and development. We’re having weekly live calls where we would discuss topics like finding clients and even doing some coaching while on the call. If you’re interested go to the Lytbox Academy website and subscribe. I’ll be sending out invites next week for new subscribers to join.
      Https://Lytboxacademy.com

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

    I want to avoid using the padding at it makes the menu size too much, is there another option for shrinkage?

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

      Hey Ace, good question. If you don't have padding then the logo or other element will be touching the top of the screen. There's probably padding somewhere. Probably the columns, they have a default 10px padding around them.
      I find just shrinking the logo usually has enough of a shrinking effect for the whole header. I would look from the elements that fill the space and shrink that.

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

    for every one who wants to try this with the containers version try this on the parent container of the whole header that is sticky. Note that in the min height of the css you want to give something smaller that the min height you gave in your parent container. mine was 150 and i set it down to 120px as shown below.
    selector.elementor-sticky--effects
    {
    background-color: white !important
    }

    selector
    {
    transition: background-color 1s ease, min-height 1s ease !important;
    }
    selector.elementor-sticky--effects

    {
    --min-height: 120px;

    }

  • @VinayKumar-cv6wu
    @VinayKumar-cv6wu 2 года назад

    In my case, code is working but in some systems it's not working and in some it's working. Pls help!

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

      Hey Vinjay, can you share more details? I’m what h situations or systems is it not working?

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

    Idk why but the shrinking transition is not working for me. I'm guessing is an Elementor problem but idk what to do

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

      It's still working on my end, it's either the way the code is being added or another plugin conflicting.

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

    Mate I'm having problems just adding a space between my sections, and idea how. Should be si simple! Love yer vids man but not on that level yet with elementor.

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

      Hey Andy big thanks!
      For your sections - instead of adding space in between, only add padding on the inside and stack your section on top of each other.
      Try this: for each of your sections add 12px right and left and 80px top and bottom. Do that to each section (excluding the header and banner) and your page layout will look much cleaner.
      And feel free to reach out with any questions!

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

      @@LytboxStudio thanks man! Could you run yer keen eyeball over the page I'm redesigning. I really have no clue what's going on where. Completely different on mobile too. Cant even get spaces between my text sections.
      I'm completely lost, I seem to have major conflicts between astra and elementor , and possibly flexbox. You really have the most enlightening vids I have found so far trying to figure this bs out, cheers!!
      Think I may have a good friend out your neck of the woods you may know too ;)

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

      @@andypeutherer4218 sure thing! You can share your website link here and I’ll have a quick look. You got peoples in Chiang Mai! That’s great! Before Covid we had one of the worlds largest digital nomad communities. It’s what brought me out here.

  • @86Vinks
    @86Vinks 2 года назад

    When I turn mobile device (phone or ipad) from normal / upright handheld mode to landscape mode then the header "gets stuck" and is displayed wrong. Am I the only one with that issue?

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

    How to do the shrinking effect for the Menu Cart element?

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

      Try adding this (make sure it is below the Shrinking Button CSS to override it)
      .shrinker.elementor-sticky--effects #elementor-menu-cart__toggle_button {
      padding: 10px 32px!important;
      font-size: 14px;
      transition: all .2s linear!important;
      -webkit-transition: all .2s linear!important;
      -moz-transition: all .2s linear!important;
      }
      The padding and font size can be changed to shrink on scroll

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

    Where's the tablet and mobile css code?

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

      Hey Aris, I just now realized It wasn't added to the article. Apologies and thanks for bringing this up!
      I just added the mobile CSS to the article. I'll add here too:
      /* Tablet and Mobile Menu Shrinking */
      @media screen and (max-width: 1024px) {
      /* shrinking background */
      .shrinker.elementor-sticky--effects {
      background: #fff;
      padding-top: 2px!important;
      padding-bottom: 2px!important;
      box-shadow: 0px 6px 30px -4px rgba(0,0,0,.05);
      }
      /* shrinking image */
      .shrinker.elementor-sticky--effects img {
      width: 100px!important;
      }
      /* shrinking menu */
      .shrinker.elementor-sticky--effects ul li a {
      font-size: 1.2rem!important;
      }
      /* shrinking button */
      .shrinker.elementor-sticky--effects .elementor-button {
      padding: 10px 32px!important;
      }
      }
      /* End Of Shrinking Sticky Menu */

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

    hi man, doesn't work in flex containers, can you show in your videos how do that?

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

      Hey Croco, I originally recorded this tutorial with containers and can confirm it does work for both Containers and Sections the same. I didn't release the Containers version at the time because there were still bugs. Going forward all my tuts will be using containers.
      Make sure to put the class for the section in the container wrapping your whole header. The one that has the sticky option turned on.
      If you still can't get it send a link and I'll have a quick look. Cheers!

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

      @@LytboxStudio ok,thank's, I'm going trying again.

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

      @@LytboxStudio Hi. I'm just learning how to use containers and am practicing on a previous site that used the CSS with no issues. When I use it with a container, the width doesn't adjust back to 100% after resizing the window. Yes, the class is in the main container that is set to be sticky.
      Any thoughts?