BACKGROUND COLOR CHANGE ON PAGE SCROLL - Elementor

  Рет қаралды 15,572

andrea egli

andrea egli

Күн бұрын

Пікірлер
@andreaegli
@andreaegli 2 жыл бұрын
Let me know if you found this useful and if it worked for you!
@fernandopaiva85
@fernandopaiva85 Жыл бұрын
You are the only one that teaches how to do it with Elementor! Thank you so much for sharing this, Andrea! You're awesome!
@andreaegli
@andreaegli Жыл бұрын
Thank you so much for your kind words, Fernando! Let me know if you have any requests for future videos🤓
@erika_huber
@erika_huber Жыл бұрын
I have been looking for someone that uses JS and custom CSS with Elementor. Please make more of these videos! Loving it! Thank you ❤
@andreaegli
@andreaegli Жыл бұрын
Thank you so much, Erika! Will do!💜
@ndayanaparra
@ndayanaparra Жыл бұрын
Desde hace AÑOS esperaba este tutorial y por fin lo encontré! GRACIAS
@andreaegli
@andreaegli Жыл бұрын
You're welcome🤓
@brandedright
@brandedright Жыл бұрын
Definitely helped a lot! Thanks, Andrea. I'm very grateful for your wisdom sharing and creativity. Tbh I'm not an expert at code- not even an amateur, just an enthusiast. I don't know if you've experienced the "Tumblr Era" where everyone was having fun with their blogs on Tumblr and messing around with the themes (which actually needed coding) haha! That's where I started to develop an interest in HTML & Java. I just never got to actually focus on it and learn. So I'm here to express my gratitude for sharing your knowledge and the websites/resources to learn these things. Again, awesome video. Hope to see more of you here! Cheers
@andreaegli
@andreaegli Жыл бұрын
Thank you so much, Alex! oh, trust me, not an expert either😅 No, I haven't but I heard good things about that era😂 I only started playing around with code in 2021. It's really good knowing some code. Before that I didn't even know the difference between Java and Javascript. You are welcome!!!! New video every week🤓
@EjenSky-z9p
@EjenSky-z9p 16 күн бұрын
Thank you so much!
@pascal8063
@pascal8063 2 ай бұрын
Hey @andreaegli , does the custom css code you find in the page settings appear automatically or do I have to paste it from somewhere? My custom css field is empty when I open it and in your notion file is only the html code.
@andreaegli
@andreaegli 2 ай бұрын
Hey Pascal! No, the CSS needs to be added too. I don't have it in the Notion file, seems like I forgot to add it or I delete it, who knows. If you want this to work, you will need to follow the video step-by-step I'm afraid. I don't have the code written anywhere anymore so...sorry about that. Just pause the part where I show the CSS code and write it in your site settings > custom CSS.
@seekknowledge1928
@seekknowledge1928 Жыл бұрын
Black to white conversion or White to black conversion? Could show us ?
@jeffrey6283
@jeffrey6283 2 ай бұрын
Is this also possible to get the same effect with full size images instead of background colors? If so, do you have a comparable tutorial or can you tell me how to do this? :) Thanks!
@umarjoyia2128
@umarjoyia2128 11 ай бұрын
Thank god I found you!!!!!!!!!!!!!
@TRUE.HORROR
@TRUE.HORROR Жыл бұрын
but i see only one code where the other cods ?
@edwardnewman4372
@edwardnewman4372 10 ай бұрын
Thanks it works, however, the colour transition is sharp. How can I ensure its a smooth transition, any ideas?
@MBSounds
@MBSounds 9 ай бұрын
Thank you so much for the tutorial! Either I am stupid or dont know anything about custom css, but how do I create the Code of the side settings? I would really appreciate a response, I would love to integrate this effect into my website!
@darndarn99
@darndarn99 8 ай бұрын
This was so cool 👌 imaging is we could create a gradual gradient change on scroll 😱😱😱
@ShahbazAli-ni6bf
@ShahbazAli-ni6bf Жыл бұрын
Can we do this for single sticky section color change according to other sections colors or behalf of their id?
@yogvaghela
@yogvaghela 6 ай бұрын
It doesn't work on mobile and didn't show up on any other browser except for the one I am logged in from
@PhilippEnders-nn5in
@PhilippEnders-nn5in 8 ай бұрын
Hi Andrea, the function does not work for me on mobile and tablet. works as should on desktop. do you have any idea why this could be??
@wielandsmith
@wielandsmith Жыл бұрын
It works! Can this be done with images?
@andreaegli
@andreaegli Жыл бұрын
🤓 no idea, I’ve never thought of trying this with images but it should work
@floklo
@floklo 9 ай бұрын
Love your videos. they are perfect for learning all element or functions! but the link with the code is doesn't work any more? could you reload it? thanks
@andreaegli
@andreaegli 9 ай бұрын
thank you! check again, Notion had some issues today
@floklo
@floklo 9 ай бұрын
@@andreaegli thank you so much! is back online and everything is working! love it!
@bryanfarfan5208
@bryanfarfan5208 Ай бұрын
I have some problems, i can try the tutorial and follow all steps but not work when i try.
@naimislam4316
@naimislam4316 Жыл бұрын
Please make more this type videos
@andreaegli
@andreaegli Жыл бұрын
Could you be more specific, what type exactly?
@albertoohayon3817
@albertoohayon3817 6 ай бұрын
Hi Andrea, is this code compatible with Safari? not working for me :/
@745651
@745651 Жыл бұрын
Another challenge: change the color of fixed text on vertical scroll according to sections…
@marcomigliorino8698
@marcomigliorino8698 Жыл бұрын
Ciao from Italy :) this code dont work on safari :(
@alemikdigital
@alemikdigital 7 ай бұрын
hi @marcomigliorino8698, I just watched this video today and you are correct that the code doesn't work on safari , Im new to commenting but have dev experience and I have update the jquery code to suit modern browsers , if it helps you can try the below code in the HTML widget of elementor 1. JavaScript , that only loads on browser load time and if Javascript is not disabled. ```javascript window.addEventListener('scroll', () => { const body = document.body; const panels = document.querySelectorAll('.panel'); // this will select all panels with the class name panel const scrollPosition = window.scrollY + (window.innerHeight / 2); panels.forEach(panel => { const panelTop = panel.offsetTop; const panelBottom = panelTop + panel.offsetHeight; if (scrollPosition >= panelTop && scrollPosition < panelBottom) { // we will then remove existing custom color classes (if any) body.classList.remove(...body.classList); // Spread syntax for efficient removal // we then want to add the color class based on panel's data-color attribute , the one we have set under attribute in elementor based on the above video body.classList.add(`color-${panel.dataset.color}`); } }); }); ``` 2. Custom CSS code if you want don't want to update the site wide css , you can on any one section /container / page under Advanced-->Custom CSS add the code as per video above ```custom-css body { background-color: #f4f4f4; transition: background-colour 1s ease; } .color-copper { background-color: #c1532f !important; } .color-purple { background-color: #6d46f1 !important; } .color-orange { background-color: #f19031 !important; } .color-red { background-color: #93c179 !important; } 3. Attributes data-color| ``` and under Attributes --> Custom Attributes --> for key|value as per the video above you can use ```atributes example data-color|orange ```
Spline 3D animation & Glassmorphism EXPERIMENTS in Elementor
12:08
ONE PAGE AGENCY WEBSITE - Elementor Wordpress Tutorial Flex Container
1:48:16
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Dynamic color change while scrolling with CSS
8:01
Kevin Powell
Рет қаралды 74 М.
Ultimate Elementor Horizontal Scroll Tutorial: Free & Pro (Step-by-Step 2024)
12:26
Sabine @Lechclick Webdesign
Рет қаралды 4,4 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 678 М.
Animate Page Color on Scroll in Webflow
6:39
Timothy Ricks
Рет қаралды 16 М.
Why Beautiful Websites Don’t Convert
12:57
Malewicz
Рет қаралды 257 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН