[FREE] How to Create Transparent Sticky Header in WordPress with Elementor

Sdílet
Vložit
  • čas přidán 28. 03. 2021
  • In this tutorial I'll show you how to Create Transparent Sticky Header in WordPress with Elementor.
    ✅Get code snippet for making Sticky Header:
    makedreamwebsite.com/how-to-c...
    ✅Get Elementor Pro:
    makedreamwebsite.com/elemento...
    ✅Get ElementsKit Lite:
    wordpress.org/plugins/element...
    ✅Get ElementsKit Pro:
    makedreamwebsite.com/elements...
    ✅Get creative templates on my Template Shop:
    templatish.com
    Today, I’ll show you how you can make sticky transparent header in Elementor for Free. So, normally, you can create this type of sticky transparent header in Elementor Pro. But, I’ll show you how you can do that on the free version of Elementor with a little hacks.
    Here, first you need to install the Elementor and the ElementsKit Lite plugin on your website. Then, you can create custom header with Elementor Editor. We create a header with logo, menu, button and social icons. Then, we'll make the header transparent header by using negative margin.
    After that, to make the header sticky, we use some custom CSS and JavaScript code which you can get from my link above. We use CSS class for our 2 different logos - one for transparent header, another for sticky header.
    We can also customize the background color and text color of our sticky header from our code. I've shown you how to change that.
    After that, we make our header responsive for mobile and tablet devices. Here, we create 2 different menus - one for desktop and another for tablets and mobiles.
    So, that’s how you can create a transparent sticky header on your WordPress website.

Komentáře • 403

  • @silinaunger9118
    @silinaunger9118 Před 3 lety +32

    This is the best video I've seen for making Header with Elementor. Thanks!

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 3 lety

      Thank you so much❤️

    • @nawrisid3872
      @nawrisid3872 Před 2 lety

      @@MakeDreamWebsite TOOOP

    • @saeim3344_
      @saeim3344_ Před rokem

      @@MakeDreamWebsite loveeeee u bruh

    • @saeim3344_
      @saeim3344_ Před rokem

      can you make a vedio about how to recive order and how to make a order form in wordprees pls .

    • @FreeFirenoble
      @FreeFirenoble Před 6 měsíci

      bhai creating menu is not showing on my website@@MakeDreamWebsite

  • @pruthviravindra859
    @pruthviravindra859 Před 3 lety +1

    Probably the best video on creating a transparent sticky header!
    I was happy that you considered the mobile and tablet layouts as well for the explanation.

  • @ahmmedsiyamb
    @ahmmedsiyamb Před 10 měsíci +6

    I got everything right until the injection of the html snippet. But The header does not become sticky :(

    • @ClypChip
      @ClypChip Před 7 měsíci +2

      I'm also stucked in there. New elementor update is the problem

    • @Endalaust89
      @Endalaust89 Před 27 dny

      x3

  • @Revefx
    @Revefx Před 2 lety +3

    Man, you really created a beautiful tutorial. I was halfway into the video and tested it how it will look on mobile and I thought - good, how will i fix this, tried few things and gave up. Then played your tutorial again and I was really happy that you even covered this part! Thank you very much.

  • @user-cu9lu9cr2g
    @user-cu9lu9cr2g Před rokem

    Great video! Your step-by-step instructions made it so easy to follow and understand. Thank you so much for taking the time to create and share this valuable content! Keep up the fantastic work.

  • @user-lq2zo4kq4p
    @user-lq2zo4kq4p Před rokem

    Thank you very much for this video! I'm so glad I was able to apply this to my site as well.

  • @iplaystudio7482
    @iplaystudio7482 Před rokem

    The best elementor mentor ever! I love your videos, I'm really slow but it works, Please always show your navigation menu, Cause I sometimes mess up and the code doesn't work. Thank you!!!

  • @reefatsayyad1279
    @reefatsayyad1279 Před 2 lety +1

    You are really amazing! Nobody has made a video like you did! Clearly understandable..!

  • @HamdhanHasmy
    @HamdhanHasmy Před rokem

    This is the best video in youtube for making header with Elementor. Hats off mate!

  • @trademaze
    @trademaze Před 3 lety +1

    With great appreciation, thank you for the tutorial. It was educative. Thank you.

  • @kamrul5286
    @kamrul5286 Před 2 lety

    Awesome! Fresh and clear content. No spiler ❤️👍

  • @jazzeyhenry
    @jazzeyhenry Před rokem

    This is by far the best tutorial video I have ever watched, I am glad to have found this channel and I subscribed immediately, you just saved my website Thanks!

  • @SheikhSohel
    @SheikhSohel Před rokem

    It's an awesome video for making a header transparent and sticky. Thank you.

  • @kamusiimeraymond314
    @kamusiimeraymond314 Před 2 lety +1

    Amazing stuff bro. You have saved many. Thank you so much

  • @alexisdauli8537
    @alexisdauli8537 Před 3 lety +1

    Thanks man, this is the best video on this topic.

  • @MaintainSatisfaction
    @MaintainSatisfaction Před rokem

    Great Video, exactly what I was looking for! Thank You SO Much!

  • @sreenuneelakanthi3943
    @sreenuneelakanthi3943 Před 3 lety +1

    Really Helpful !! Thank You

  • @bulakiwaala
    @bulakiwaala Před 3 lety +1

    Thank you for helping us out

  • @felixblub4401
    @felixblub4401 Před 3 lety

    You are so great for doing this, thank you very very much!! Best wishes from Germany!

  • @orkunyoutube
    @orkunyoutube Před 3 lety +1

    really good explanation ! thx mate !

  • @arunhembram1859
    @arunhembram1859 Před 3 lety +1

    Undoubtedly the most informative video.

  • @bosaoctavian7774
    @bosaoctavian7774 Před 2 lety

    Thank you for the tutorial !

  • @kankanalasravanthi5600
    @kankanalasravanthi5600 Před 3 lety +1

    Thanks For the Video. Very very helpful

  • @dayanaghahramani7051
    @dayanaghahramani7051 Před 2 lety

    Very helpful, thank you!

  • @renniesampan9302
    @renniesampan9302 Před 2 lety

    Thank you, awesome video... I have subscribed

  • @nsfcom
    @nsfcom Před 6 měsíci

    awwsome, thanks
    I was looking for this

  • @fabianapellin3343
    @fabianapellin3343 Před 2 lety

    Fantastic video! I have a question on changing the color of the button text and border from white to black when i scroll down, how can I do that?
    Many thanks in advance!

  • @owaissonija7339
    @owaissonija7339 Před 2 měsíci

    Subscribed!! Thanks for the video!

  • @ajwebhub
    @ajwebhub Před 3 lety +1

    You're a absolute gem.

  • @LiputanTekno1
    @LiputanTekno1 Před 5 měsíci +2

    can u make a code for container please, cozz this is not work for it, thank u

  • @JustHope-cw6xf
    @JustHope-cw6xf Před měsícem

    The video is cool and straight forward for even a newbie to use

  • @merhabafam347
    @merhabafam347 Před rokem

    I am very fresh on wordpress and you made may day man.

  • @Cezar15
    @Cezar15 Před rokem

    Hi, i do this for my website and is awesome, but i have a question. How i manage the next pages on the website to look good? Because the edit page start from the header, and then the header doesn't work in other pages . How can you help me here ?

  • @kipronoalex1447
    @kipronoalex1447 Před 2 lety

    One of the best header tutorial..budy very thanks... any recent updates.

  • @kshiv1335
    @kshiv1335 Před 2 lety

    I have only one simple word to describe your efforts...just wowwww amazing Loved that

  • @mdnomanurahmad8436
    @mdnomanurahmad8436 Před rokem

    thanks for this video. It was very helpful for me and I hope that you will continue making videos for us

  • @tmarks1711
    @tmarks1711 Před 2 lety

    Thanks for this tutorial. Can you please help me?
    I have created a Transparent Sticky Header with white text, but when you scroll up, I want to change the text color to black because it has a white background when you scroll up, and the text becomes invisible (Has white color on the text). How can I change the text change from white to black? Tach, for the help

  • @Yashbhasin31
    @Yashbhasin31 Před 2 lety

    Hello bro i need your help,
    I did everything you told on video, when im starting my website some white lines are coming up, can you help on this?

  • @Mrblackhammer07
    @Mrblackhammer07 Před 3 lety +3

    wow bro, Thanks.

  • @srinivasdasari5592
    @srinivasdasari5592 Před 3 lety +1

    Nice explanation. Thank you. How to manage menu arrow(leads to submenus) colour in the html code that you presented? I want to change the colour of menu arrow on the header when the page is scrolled down. Also, how do you manage submenus structure in the mobile/tablet view?

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 3 lety

      I need to take a look on your current website. Then, I can suggest you to write some additional CSS code for that.

  • @DvorcsakSzabolcs
    @DvorcsakSzabolcs Před 10 měsíci

    Many Thanks! Wonderfull job and description. You have help me out a lot. I really appriciated Mr. Jitu Raiyan!!! GOD BLESS!!!

  • @adesinaoluwasanmi5793
    @adesinaoluwasanmi5793 Před 2 lety

    Thanks for this amazing video

  • @phuketeventplanner
    @phuketeventplanner Před rokem

    Great work thank so much it help a lot

  • @eltoski01
    @eltoski01 Před 3 lety +2

    I love you 😂😂😂😂, thanks for this video, just saved my life 😂😂🔥🔥🔥🔥🔥💜💜, best video on elementor menu ever 🔥🔥🔥

  • @nimishamohan1834
    @nimishamohan1834 Před 2 lety

    Very Helpful video....detaily described each points..Learned new things and methods...Thank you sir

  • @alexmugereki777
    @alexmugereki777 Před rokem

    Thanks its very helpful

  • @faizalal-mahfuz712
    @faizalal-mahfuz712 Před 2 lety

    you really helped me alot... thanx bro!

  • @bayodeakomolafe2467
    @bayodeakomolafe2467 Před 2 lety

    Wooow!!! Amazing... thanks so much

  • @AngryPokerNerd
    @AngryPokerNerd Před 2 lety

    Dude, this code is simple and effective, really awesome. But could you help me with something? I'm using one of their header templates that is divided in two parts. Even separating them in two sections, I can't manage to make only the main one sticky. I tried switching the part after find '.find('.elementor-section')' to a class that only the main one had, but it isn't working - either I get both of them to work (with the original code) or neither. I'm not really used to JS coding. Thanks mate!

  • @shahinaparveen8712
    @shahinaparveen8712 Před rokem

    New and used full information thanks

  • @massoudatef7267
    @massoudatef7267 Před rokem

    When I select ElementsKit - header footer it directs me back to the ElementsKit dashboard I am not sure what's going on?

  • @jondreger9705
    @jondreger9705 Před 2 lety

    Thank you very much. Kind regards from Germany 🙌🇩🇪

  • @srinivasrajapuram6384
    @srinivasrajapuram6384 Před rokem +1

    I am not able to get primary menu option, any suggestions? It is showing up only menu option..

  • @Shabbirahmed.VocalVerse
    @Shabbirahmed.VocalVerse Před 3 měsíci

    hello dosto kya mujhy koi bata sakta hay ke main elementor ka jo header footer plugin hay us se ek navbar bana raha hun sticky nav bar hay lekin ek problem hay us main jab main editor open karta hun to who content ke pichy araha hay lekin jab view page karta hun to us pe thek se araha hay mujhy guid kar sakty hen sirf home page pe is tarha ho raha hay????? pleace agar janty hen to zaroor bataen

  • @karteltech1
    @karteltech1 Před 3 lety

    You got yourself another subscriber. congrats.

  • @roicarl
    @roicarl Před rokem

    This is one excellent video in all respects!

  • @someoneinearth51
    @someoneinearth51 Před 2 lety

    Thanks very much

  • @benBergma
    @benBergma Před 2 lety

    Amazing tutorial man!! Btw, How to make the Navigation bar both have background color? All I can see is if you scroll down, the Navbar gets the background color of choice, but at the start its invisible.

  • @northcountrydesign10
    @northcountrydesign10 Před 3 lety +1

    How does your inspect page option give you a dropdown for various screens to test how it looks? Is that Chrome?

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 3 lety

      Yes, that was Chrome Browser. After inspecting press Ctrl + Shift + M. Then, you get that dropdown.

  • @mcfundingusa4583
    @mcfundingusa4583 Před 3 lety +1

    After doing menu in elementskit lite, how did you bring it on Wordpress theme? and how did you remove default header of Wordpress theme

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 3 lety

      While creating header from dashboard, you can find a option "Activation". After turning on this, your theme's header will be replaced by ElementsKit header.

  • @oOTheBigAppleOo
    @oOTheBigAppleOo Před rokem

    Hey, i am trying to rebuild the header but i got a problem. The colors of the menu change after scrolling down but the background colors of the header is not changing. Does someone know what could be the problem? Thank you!

  • @MartinIyooh
    @MartinIyooh Před 2 lety

    Great video... Thank you xo xo much

  • @David-dk2jk
    @David-dk2jk Před rokem

    you are literally the best

  • @kalyanipatil2684
    @kalyanipatil2684 Před 3 lety

    This video is very useful, but I have a problem. after putting the sticky header code on the scrolling header is transparent, I put white color but still it transparent. pls help me out with this

  • @leonie8236
    @leonie8236 Před 2 lety

    You are amazing!!!

  • @takcan
    @takcan Před 2 lety

    Thank you very much...

  • @user-zg8yh3jz1t
    @user-zg8yh3jz1t Před 11 měsíci

    Thank you so much!!
    The header in mobile can be also transperenti?

  • @lefutur888
    @lefutur888 Před 2 lety +3

    Great Video!
    I have a little problem however, I wonder if you know where it comes from. When I just start scrolling down, the whole page drops right under the header before coming back up as I scroll, the header being on top of the whole page at first. I looked into the settings of the header and of the block but could find anything that would work. Do you have any suggestion?

  • @indicrats1955
    @indicrats1955 Před rokem

    Thanks Man!

  • @mohakfoji2067
    @mohakfoji2067 Před 3 lety +1

    Best video ever ❤️

  • @emonahamed8923
    @emonahamed8923 Před 3 lety +1

    very helpful

  • @lxdesignstudio3548
    @lxdesignstudio3548 Před 2 lety

    Hii, thanks for the amazin tutorial.
    im trying on the other hand to have a transparent nav header and when scrolling the background changes to black...
    i used the following CSS script. but it just makes the background black the whole time.. when its fixed and when its scrolling.
    is there soemthing that im missing?
    would be thrilled theres a solution for this
    Thanks
    .main-header-bar {
    position: fixed;
    top: 0px;
    padding: 5px 0;
    width: 100%;
    height: 90px;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    z-index:1000 !important;
    }
    .main-header-bar {
    position: scroll;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999 !important; transition: all 0.4s ease-in-out;
    background-color:rgba(0, 0, 0,.8) !important;
    }

  • @biplabroy8991
    @biplabroy8991 Před 3 lety

    Thanks a lot bhai. Please create more such videos. Subscribed

  • @kunalkrmathuri
    @kunalkrmathuri Před 2 lety

    thanks for sharing your valuable knowledge, it really helpful bro...........keep it up ...

  • @ankushh4860
    @ankushh4860 Před 2 lety

    Thank you bro...❤️

  • @moiseat
    @moiseat Před 3 lety

    great video, thank you so much! what extension are you using to check the responsiveness?

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 3 lety

      Welcome ❤️ That's not an extension. In Chrome browser, right click anywhere on your page and click on Inspect. Then, press "Ctrl+Shift+M", and you get that responsive tool.

  • @thesparkyguy9378
    @thesparkyguy9378 Před 2 lety

    Hey awesome video btw how to make the menu dropdown for mobile devices instead of sliding ??

  • @Dcreations-zh1rc
    @Dcreations-zh1rc Před rokem

    how do I add the logo inside the flyout menu in the mobile view?

  • @demboyyz7325
    @demboyyz7325 Před rokem

    hello, It is not giving me the option to make the menu my primary menu, any issue with that?

  • @rafiqshakiran8798
    @rafiqshakiran8798 Před 2 lety +1

    Hello sir, thank you for your tutorial but my sticky header doesnt work.. it stays transparent when i scroll down, the white background does not appear

  • @lewiisthebest10
    @lewiisthebest10 Před 2 lety

    Great video and thanks for sharing! Have you or anyone else come across problems where the header is not visible on your site? When im editing, i can see the header and the changes but when i click update and head back to my site, it either takes like 3 hours to change or does not show at all... any suggestions? :)

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 2 lety

      That may be z-index problem. Increase the z index value, hope that will be solved. Or have you installed a cache plugin, if so, try to uninstall it, then again install, or clear your cache..

  • @sarojadhikari5062
    @sarojadhikari5062 Před rokem

    Thank you for great video.. but how to add smooth fade in animation on header when scroll

  • @Oryon44
    @Oryon44 Před 3 lety +1

    Hey man, amazing tutorial, you're a life-saver. I wanted to ask if there's a way to make the header smaller when scrolling? It looks nice but it's kind of big and blocks the view of the website, any way to do that through html? Thanks in advance :)

    • @ChitraBhramantikaar
      @ChitraBhramantikaar Před 2 lety +1

      for changing the height of header you have reduce the padding from 11px to what you need in html code.
      i am done with below:
      .elementor .elementor-element.sticky{
      background: #FFFFFF;
      padding-top: 5px;
      padding-bottom: 5px;
      box-shadow: 0 0 30px 0 rgb(0 0 0 / 20%);
      position: fixed;
      width: 100%;
      top: 0;
      transition: all 0.3s ease-in-out;
      }

    • @marvekakese2693
      @marvekakese2693 Před 2 lety

      @@ChitraBhramantikaar where to add this code please? Can you even send me the screenshot on my email address, please?

  • @basharyare1157
    @basharyare1157 Před 7 měsíci

    Thanks dear sir

  • @rajeshshetty5844
    @rajeshshetty5844 Před rokem

    Great yaar...thank you

  • @karankrash9033
    @karankrash9033 Před 2 lety +1

    sir theres a slight transparent black line coming from menu side . So how can we fix that

  • @raheem109
    @raheem109 Před 2 lety

    how to bring the cart search and account sections on the header back?

  • @isaacnewking5104
    @isaacnewking5104 Před rokem

    awesome tutorial, although what i do on elements kits is not reflecting on the site even though i activated it....would be awesome if you reply now as it is urgent

  • @ravelomanarivoemma1031

    Thumbs up. You saved me. You got one more subscriber

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před rokem +1

      Thank you! Happy to help!

    • @ravelomanarivoemma1031
      @ravelomanarivoemma1031 Před rokem

      @@MakeDreamWebsite The header style doesn't apply from other pages 😕

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před rokem +1

      @@ravelomanarivoemma1031Usually the header supposed to be applied for all the pages... If you want to apply different header for different pages.. you can also set that from the plugin options...

  • @nightmovies2053
    @nightmovies2053 Před 2 lety

    great bro

  • @subratakundu1004
    @subratakundu1004 Před rokem +6

    The code is not working

    • @owaissonija7339
      @owaissonija7339 Před 2 měsíci

      Use the following code and let me know if it does not work:
      .elementor .elementor-element-b04fa57 {
      background: #FFFFFF;
      padding-top: 11px;
      padding-bottom: 11px;
      box-shadow: 0 0 30px 0 rgb(0 0 0 / 20%);
      position: fixed;
      width: 100%;
      top: 0;
      transition: all 0.3s ease-in-out;
      }
      .admin-bar .elementor .elementor-element.sticky{
      top: 32px;
      }
      .elementor .sticky .elementor-element .elementskit-navbar-nav > li > a, .elementor .sticky .elementor-element .elementor-social-icon i, .elementor .sticky .elementor-element .elementskit-menu-hamburger > .ekit-menu-icon{
      color: #000000;
      transition: all 0.3s ease-in-out;
      }
      .ekit-template-content-header .elementor-widget-image, .elementor-location-header .elementor-widget-image{
      margin-bottom: 0;
      }
      .ekit-template-content-header .sticky .elementor-widget-image, .elementor-location-header .sticky .elementor-widget-image{
      transform: scale(0.9);
      height: auto;
      transform-origin: left;
      transition: transform 0.3s ease-in-out;
      }
      .logo-2{
      height: 0;
      overflow: hidden;
      }
      .sticky .logo-1{
      display: none;
      }
      @media only screen and (max-width: 1024px) {
      .admin-bar .elementskit-navbar-nav-default.elementskit-menu-offcanvas-elements{
      top: 32px;
      }
      }
      @media only screen and (max-width: 782px) {
      .admin-bar .elementor .elementor-element.sticky, .admin-bar .elementskit-navbar-nav-default.elementskit-menu-offcanvas-elements{
      top: 46px;
      }
      }
      @media only screen and (max-width: 600px) {
      .admin-bar .elementor .elementor-element.sticky, .admin-bar .elementskit-navbar-nav-default.elementskit-menu-offcanvas-elements{
      top: 0;
      }
      }
      (function($){
      $(document).ready(function(){

      $(window).on('load scroll', function(){
      var scroll = 100,
      sticky = $('.ekit-template-content-header, .elementor-location-header').find('.elementor-section')
      if ($(window).scrollTop() >= scroll) sticky.addClass('sticky')
      else sticky.removeClass('sticky')
      })

      })
      }(jQuery))

  • @OrangeartFactory
    @OrangeartFactory Před rokem

    how to add gtranslate in mobile menu only?

  • @MegaRockboyz
    @MegaRockboyz Před rokem

    For menu button I think it’s best practice to make button as a menu item and custom style it.

  • @gaborberei2650
    @gaborberei2650 Před 5 měsíci +1

    Hi my Friend! Z-index is working with 2 on new version, but the code is not working with new container. Not make sticky. What can we do? Can you help me? THX

  • @user-zg8yh3jz1t
    @user-zg8yh3jz1t Před 11 měsíci

    Why i cant do transperenty in sticky header , its make big width

  • @biteshrout3434
    @biteshrout3434 Před 2 lety

    thanks bro ...

  • @norakastein6883
    @norakastein6883 Před rokem

    Hi, Many thanks for this clear and fantastic tutorial, I followed every step. I do have a problem: after I paste the code, the header doesn't get sticky. Is there maybe a setting or update which need changing..? Pls advice. I look forward to finish the full tutorial.

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před rokem

      As thus is an old video and so many Elementor updates are going through, so I can't garuntee everything is now perfectly working. For now, you can email me your page link...

  • @arielleaderyn
    @arielleaderyn Před 2 lety

    Hey there great tutorial! Myn nav menu that I've inserted was a hamburger one by default. Is there a way to change this?

    • @MakeDreamWebsite
      @MakeDreamWebsite  Před 2 lety

      Welcome! You can make an animated hamburger by following this video: czcams.com/video/MyBQSXAO6rI/video.html

  • @firozz15
    @firozz15 Před rokem

    Why does the Image element need a Z-Index to be visible when the header was made transparent but the nav menu was visible without a Z-Index?? Can someone explain please??

  • @nawrisid3872
    @nawrisid3872 Před 2 lety

    Thanks Bro