Smooth Background Color Change on Scroll in Elementor | Scrolling Background Effect/Animation

Поделиться
HTML-код
  • Опубликовано: 20 сен 2022
  • Today I'll show you how to make smooth Background Color Change on Scroll in Elementor. We'll create this cool scrolling Background Effect/Animation.
    ✅Get Elementor Pro:
    makedreamwebsite.com/elemento...
    ✅Get Domain & Webhosting(SAVE 50%):
    makedreamwebsite.com/bluehost
    ✅Get code snippet for Smooth Background:
    makedreamwebsite.com/smooth-b...
    ✅Get creative templates on my Template Shop:
    templatish.com
    In this tutorial, I’ll show you how you can create a smooth background animation in your WordPress website using the Elementor. So, instead of a normal background, we’ll make a smooth transition when we scroll inside our page. And it gives your page a much better and modern look.
    First, we need to write 2 code snippet from our dashboard. Then, our scrolling effect will be added. But, for some sections, there can be some issues. So, we need to fix that.
    For those sections, we need to create another version of them and also follow some other steps. Then, it works perfectly.
    If you use image, then you can also use multiple versions of a same image and show it in different backgrounds. This effect is perfectly responsive on the tablet and mobile devices. So, you also don't have to do anything extra for that.
    That's how you can create this animated background color in your Elementor website. If you enjoy this tutorial, don't forget to like and subscribe.

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

  • @meisterleise
    @meisterleise Год назад +6

    Absolutely amazing! Even a month ago I was asking myself how to make this effect. And here it is. Perfect!

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

    Awesome video! Thanks!!!

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

    love your every tutorial, thanks for sharing with us

  • @space__dad
    @space__dad Год назад +6

    This is awesome!
    Is is possible to apply this only to certain sections of a page? Like if I don't want the colour to change when I reach my footer, for example, could I exclude the footer from triggering the change (with a css class maybe)?

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

    Love this effect thank you

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

    This code is so much better than the original I was using. Thank you!

  • @Snowfox23
    @Snowfox23 9 месяцев назад

    So creative 🤩🙌

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

    Beautiful!

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

    Is there a way to apply this only for the header? For example the about section on the hompage is blue background, so the header needs to turn entirely into blue and then the section below "about" has a green background, so the header will need to turn into green. Thanks!

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

    Amazing, no more having to use a buggy elementor add on.

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

    Great, I was wondering how to achieve this, in 48h I have seen 3 sites with this effect 😊

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

    I LOVE this and have it though-out my website BUT I have hit an issue. I have custom post types using CPT UI Plugin and the background does not change. It works ace in WordPress Pages and Posts but not in Custom Page Types.
    Can you help!!!!!!

  • @user-il4me9uv9s
    @user-il4me9uv9s 9 месяцев назад

    Is there a way to make this not affect the other motion animations on page as the g-transition 0.8 makes it all v slow.

  • @mikesteinmuller7049
    @mikesteinmuller7049 6 месяцев назад

    Is there any way to change the color of the header font, based on the background color? :)

  • @ahmed.saa7
    @ahmed.saa7 11 месяцев назад

    Hi, sir actually i have seen your video on scrolling effect that is changing the background color on scroll what i want is to change the specific column color when user scrolls on screen only in mobile view can you please help me with that

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

    Hello, in my case the console gives me this error when I scroll.
    caught TypeError: Cannot read properties of undefined (reading 'replace')

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

    Love this tutorial, value for time 👍

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

    Hi When I added it to my site, my Image Box Card Carousel doesn't work anymore can help me why that is happening?

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

    Awesome! This work with gradients background?

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

    Hey, my page go so slow with this code. What can i do?

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

    Could you maybe make the tutorial more extensive so that the text colors also go along with the color transitions?

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

      By extensive you mean to increase the color changing transition time? Right?

  • @Asad-Main
    @Asad-Main 15 дней назад

    It's so beautiful but I can't make it work. 😢

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

    Hi! I really like the tutorial and the effect but using the javascript kinda broke my site. All of the test content disappeared. In the editor it looks fine. Any idea how to fix this?
    Kind regards

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

      I don't know if you need this info or not since it's been 2 month on your comment, but for anyone who needs it, I just experienced the same thing so I just deleted the code and installed a plugin "Advanced DB Cleaner" and my site came back to life.

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

    So weird. I copied the text exactly and followed the directions, and it's not working. Literally nothing happens.

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

    Any chance you can do this using background images instead of only colors?
    Can't find a tutorial on this anywhere on RUclips ((:

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

      Yes, you can follow the same process. But, instead of colours, you can use background images...

  • @user-fo1ee1kh7c
    @user-fo1ee1kh7c Год назад

    There should be a way to set the code such that the animation starts from ehen the section is at the middle of the screen, at the moment it starts with the section the bottom, how can we ofset that animation?

    • @user-fo1ee1kh7c
      @user-fo1ee1kh7c Год назад

      experimented with line 44 of the code, and bottomOfset = 600 was a sweet spot, i didn't need to duplicate any sections

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

    What should I do if I don't have elementor pro for the custom codes? Any way to slip the code in?

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

      For free version you can use a code snippet plugin and there you can use the same code snippet

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

    Since there are many sections with images won’t this make the site big and heavy?
    Great tutorial though.

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

    Do you have a version of the code that works for single custom post types? I think this only works for pages, not posts. Thanks!

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

      It also works with post if you build the post using Elementor, not Gutenberg.

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

      @@MakeDreamWebsite Are you sure? I tried and it doesn't. I have a single post template and it doesn't work inside the post content area. It's built with elementor.

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

    Hi, thanks for an awesome tutorial :) However, it's not working at all for me. The entire page turned white. Is there any external JS and CSS library that needs to be linked? I'm unable to figure out what is causing this. Any ideas?

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

      Add both CSS first!

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

      I have the same problem. How did you solve it? @MakeDreamWebsite

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

      ​@@Zzjulhow to do this?

    • @sumeramughal
      @sumeramughal 8 месяцев назад +1

      @@Zzjul please share the steps to solve this. Thanks!

  • @user-xf8tk8np2h
    @user-xf8tk8np2h Год назад

    👍👍👍👍👍👍👍👍👍

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

    I have added this code but didn't work May be I have added colors in sections and I am not using the flex box. Is it fine?

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

      I'm not sure about sections. It probably may cause issues...

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

    Can this be used on Shopify?

  • @criticalw.o.r.t.h.4701
    @criticalw.o.r.t.h.4701 Год назад

    Does that work with the free version?

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

      If you use a code snippet plugin and somehow can paste those code snippets. Then, it will work with Elementor free version too...

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

    Is this method affecting the performance? because you're duplicating all the elements, including images

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

      Yes, it's a drawback of this method, although it's too much negligible.
      But, as you can see for all the sections you don't have to make a duplicate, you only need where it looks odd.

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

    I followed this step by step on my astra website and nothing happened. Doesn't seem to have made any difference.. Thoughts?

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

      Some plugins may have conflicted with the code

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

      @@MakeDreamWebsite Is there a way to check this?

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

      That is one reason, you may deactivate all other plugins, if then it still doesn't work, so it can be figured out the problem is not because of plugins. BTW, have you use the flexbox container?

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

    I do appreciate the nice work you do to create amazing content but lately I see you only use flexbox containers which is still in beta. I'm a web designer, and I had to stop using containers on my project because it had issues. I still stick to the current sections and columns method because it doesn't have any issues till they release a stable flexbox container. The issue is some of your recent tutorials do not work with the section/columns, you created them for flexbox containers and not section/column. Since I don't use experimental features on active websites, most times i just stop watching a video when I see the tutorial is created for a flebox container because most time they don't work

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

      Hi Matolo, I know your pain 😢 Yes, it's now on beta version and soon it will release as default layout system. But, if I make those with section/columns, after some days those all videos will not working and become useless for all of you. And now as the flexbox is experimental, so with the container version, I have also provide you a non-container version as template (as in a single video it's not possible to show them on both version).
      Now, specifically for this tutorial, with sections/columns it's not possible to achieve the effect in this way. Because you can see for some container you need to wrap this into a new container which is not possible for sections/columns.

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

      @@MakeDreamWebsite Exactly. I think that's the right decision.

  • @tolgahankaya3467
    @tolgahankaya3467 6 месяцев назад