In this tutorial, you shall learn one of the huge trends in web design right now, which is how to create a transparent header. In this video, I shall demonstrate how you can create a transparent header menu in WordPress with Elementor Pro from scratch.

→ Software I recommend
Hostinger for affordable webhosting: http://livingwithpixels.com/hostinger
Siteground for premium webhosting: http://livingwithpixels.com/siteground
Elementor for no-code web-development: http://livingwithpixels.com/elementor
Figma for Web Design: https://livingwithpixels.com/figma
All recommended software & discounts: https://livingwithpixels.com/links/

→ Starter Guides for Beginners
Elementor Starters Guide: https://livingwithpixels.com/elementor-guide
Figma Design Starters Guide: https://livingwithpixels.com/design-guide

→ Full A-Z Courses
Elementor Pro Mastery Course: https://livingwithpixels.com/elementor-course
Figma Design Mastery Course: https://livingwithpixels.com/design-course
Business Course: https://livingwithpixels.com/business-course

→ Social media
Tiktok: https://www.tiktok.com/@rinodeboer
Instagram: https://www.instagram.com/rinodeboer/
Twitter / X: https://www.twitter.com/rinodeboer/

Some of the links above are affiliate links, which means that I earn a commission when you make a purchase via my link. Thanks a lot if you decide to do that! I couldn’t make all these videos without it.

source

50 Comments

  1. I'm trying to modify the color of my website's header menu text based on scroll behavior. Initially, the text is white, but when I scroll down, I want it to change to black to ensure better visibility and contrast. I've tried using CSS to accomplish this, assigning the 'header-menu' ID to the menu and the 'scrolling-menu' class to target the color change upon scrolling.

    Despite attempting various CSS approaches, such as adjusting the text color based on the body's scroll state, the desired effect isn't working on my WordPress site built using Elementor Pro. I've added the provided CSS code to the theme's custom CSS section and the Elementor's CSS editor, but the text color remains unchanged upon scrolling.

    I'm looking for a solution to dynamically change the header menu text color from white to black when scrolling down and back to white when scrolling back up. Can someone provide an effective CSS or solution specifically for WordPress/Elementor to achieve this color transition effect based on scroll behavior?"

    Thank you!

  2. I dont know why, when i set an image, it gives me other extra white margin or padding and I can not make it totally transparent. When i go more than certain width it starts to giving me this white row from top. Ok problem solved to give -170 pixels on the bottom margin of section.

  3. Thank you so much. What I do is select the header container and set the background to be transparent. Then go to advanced (with the container selected), scroll down to where it says "position" and select "absolute". Then I go down to where it says "z index" and put "1".

  4. Great video! It's working, but in a weird way. I set the minimum height to 90, but after I have to change the margin to -177 in order to no see the background anymore. I also have a video in the background, like you have, but it looks like the video is cropped and not showing the full height. What could be the issue causing this?

  5. Hi Rino! Ik heb een mooie transparante header gemaakt, alleen krijg ik de drop-down niet transparant. Heb jij enig idee hoe ik dat voor elkaar krijg? Geen kleur invullen heeft geen zin, dan vult Elementor zelf de kleuren in. Ik heb ook de kleuren via site settings aangepast, maar ook dat helpt helaas niet.

  6. 3 years later and this video is still applicable. I followed another video on the same subject a few days ago, but it suggested adding a negative margin to the hero section, not the header. While this works, I found that I would have to apply a negative margin to every page if I took this route, instead of just adding it to the header (once) per your recommendation. Thanks for the tip, I will apply this tip moving forward.

  7. Hi, thank you for sharing this! Just want to ask if it’s possible for me to only use the transparent header for the homepage/main page. Because besides the main page, all other pages background will be white. Thank you!

  8. For anyone new to WordPress who wants to start creating their own websites, this guidebook will prove to be quite helpful. By using ElementsReady, the procedure will be sped up and made easier for novices.

  9. Hi,
    Thanks for this video now i am able to make beautiful transparent header. but I need one more thing that how can we apply this header in complete site means on every page of my site i want to show this header.
    kindly guide me if u have any solution
    Thanks

  10. Hello everyone! How to make it to overlay the background? If I'm making a menu, it is above my header image with a white background. How can I make the elements to be on each other? If add it before or after it is before or after with a white background. I've seen several pre-made templates but I can't figure out ow to make the elements overlay each other.

Leave A Reply

Please enter your comment!
Please enter your name here