[FREE] How to Create Transparent Sticky Header in WordPress with Elementor
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.
This is the best video I've seen for making Header with Elementor. Thanks!
Thank you so much❤️
@@MakeDreamWebsite TOOOP
@@MakeDreamWebsite loveeeee u bruh
can you make a vedio about how to recive order and how to make a order form in wordprees pls .
bhai creating menu is not showing on my website@@MakeDreamWebsite
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.
Thank you Pruthvi 😊
I got everything right until the injection of the html snippet. But The header does not become sticky :(
I'm also stucked in there. New elementor update is the problem
x3
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.
I'm also glad to know that really helps you..
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.
Thank you very much for this video! I'm so glad I was able to apply this to my site as well.
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!!!
You are really amazing! Nobody has made a video like you did! Clearly understandable..!
Thank you so much 😀
This is the best video in youtube for making header with Elementor. Hats off mate!
Glad you liked it!
With great appreciation, thank you for the tutorial. It was educative. Thank you.
You're welcome ❤️
Awesome! Fresh and clear content. No spiler ❤️👍
Thanks so much!
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!
Thanks for your valuable comment ❤️
It's an awesome video for making a header transparent and sticky. Thank you.
You're very welcome!
Amazing stuff bro. You have saved many. Thank you so much
You're welcome ❤️
Thanks man, this is the best video on this topic.
You're welcome ❤️
Great Video, exactly what I was looking for! Thank You SO Much!
You're welcome!
Really Helpful !! Thank You
Welcome ❤️
Thank you for helping us out
You're welcome
You are so great for doing this, thank you very very much!! Best wishes from Germany!
You're welcome ❤️
really good explanation ! thx mate !
Glad it helped!
Undoubtedly the most informative video.
Thanks a ton ❤️
Thank you for the tutorial !
Most welcome 😊
Thanks For the Video. Very very helpful
You're welcome ❤️
Very helpful, thank you!
Thank you too!
Thank you, awesome video... I have subscribed
awwsome, thanks
I was looking for this
You're welcome!
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!
Subscribed!! Thanks for the video!
You’re welcome!
You're a absolute gem.
Thanks a lot!
can u make a code for container please, cozz this is not work for it, thank u
The video is cool and straight forward for even a newbie to use
Thank you!
I am very fresh on wordpress and you made may day man.
Awesome! Thank you!
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 ?
One of the best header tutorial..budy very thanks... any recent updates.
I have only one simple word to describe your efforts...just wowwww amazing Loved that
Thank you so much
thanks for this video. It was very helpful for me and I hope that you will continue making videos for us
Thank you, I will😊
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
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?
wow bro, Thanks.
You're welcome!
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?
I need to take a look on your current website. Then, I can suggest you to write some additional CSS code for that.
Many Thanks! Wonderfull job and description. You have help me out a lot. I really appriciated Mr. Jitu Raiyan!!! GOD BLESS!!!
You're welcome!
Thanks for this amazing video
Welcome!
Great work thank so much it help a lot
Happy to help!
I love you 😂😂😂😂, thanks for this video, just saved my life 😂😂🔥🔥🔥🔥🔥💜💜, best video on elementor menu ever 🔥🔥🔥
Haha.. you're welcome
Very Helpful video....detaily described each points..Learned new things and methods...Thank you sir
Most welcome...
Thanks its very helpful
You're very welcome!
you really helped me alot... thanx bro!
Happy to help!
Wooow!!! Amazing... thanks so much
You're welcome
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!
New and used full information thanks
You're very welcome!
When I select ElementsKit - header footer it directs me back to the ElementsKit dashboard I am not sure what's going on?
Thank you very much. Kind regards from Germany 🙌🇩🇪
Very Welcome!
I am not able to get primary menu option, any suggestions? It is showing up only menu option..
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
You got yourself another subscriber. congrats.
Thanks Albert
This is one excellent video in all respects!
You're very welcome!
Thanks very much
You are welcome
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.
How does your inspect page option give you a dropdown for various screens to test how it looks? Is that Chrome?
Yes, that was Chrome Browser. After inspecting press Ctrl + Shift + M. Then, you get that dropdown.
After doing menu in elementskit lite, how did you bring it on Wordpress theme? and how did you remove default header of Wordpress theme
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.
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!
Great video... Thank you xo xo much
Welcome!
you are literally the best
Many thanks!
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
You are amazing!!!
Thank you
Thank you very much...
Very welcome
Thank you so much!!
The header in mobile can be also transperenti?
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?
Same here
Thanks Man!
You're welcome!
Best video ever ❤️
Thank you ❤️
very helpful
Thank you
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;
}
Thanks a lot bhai. Please create more such videos. Subscribed
You're welcome ❤️
thanks for sharing your valuable knowledge, it really helpful bro...........keep it up ...
You're welcome
Thank you bro...❤️
Welcome ❤️
great video, thank you so much! what extension are you using to check the responsiveness?
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.
Hey awesome video btw how to make the menu dropdown for mobile devices instead of sliding ??
how do I add the logo inside the flyout menu in the mobile view?
hello, It is not giving me the option to make the menu my primary menu, any issue with that?
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
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? :)
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..
Thank you for great video.. but how to add smooth fade in animation on header when scroll
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 :)
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;
}
@@ChitraBhramantikaar where to add this code please? Can you even send me the screenshot on my email address, please?
Thanks dear sir
You're welcome
Great yaar...thank you
You're very welcome!
sir theres a slight transparent black line coming from menu side . So how can we fix that
Same Problem here
how to bring the cart search and account sections on the header back?
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
Thumbs up. You saved me. You got one more subscriber
Thank you! Happy to help!
@@MakeDreamWebsite The header style doesn't apply from other pages 😕
@@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...
great bro
Thank you
The code is not working
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))
how to add gtranslate in mobile menu only?
For menu button I think it’s best practice to make button as a menu item and custom style it.
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
Same problem here
Why i cant do transperenty in sticky header , its make big width
thanks bro ...
Welcome!
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.
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...
Hey there great tutorial! Myn nav menu that I've inserted was a hamburger one by default. Is there a way to change this?
Welcome! You can make an animated hamburger by following this video: czcams.com/video/MyBQSXAO6rI/video.html
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??
Thanks Bro
Most welcome...