GSAP PRELOADER - Elementor Wordpress Tutorial Flex Container

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 92

  • @andreaegli
    @andreaegli  ปีที่แล้ว +6

    Do you use preloaders on websites? If so, I hope you found this useful

    • @yukulgargish5372
      @yukulgargish5372 ปีที่แล้ว

      I tried the same dot scaling as background with the elementors native motion effects! It works but seems a bit glitchy!

    • @nuamanafzal8530
      @nuamanafzal8530 ปีที่แล้ว +1

      could u tell me how did u make that red circle scrolling effect when u scroll circle goes big

    • @andreaegli
      @andreaegli  ปีที่แล้ว +2

      Stay tuned for that, video is coming on Friday @@nuamanafzal8530

    • @nuamanafzal8530
      @nuamanafzal8530 ปีที่แล้ว

      much appreciated

    • @nuamanafzal8530
      @nuamanafzal8530 ปีที่แล้ว +1

      waiting for the video

  • @blazepiee4772
    @blazepiee4772 5 หลายเดือนก่อน +1

    Hey Sister This Is the Problem Faced When i save the code could help me'
    Snippet automatically deactivated due to an error on line 2:
    Syntax error, unexpected token "

    • @andreaegli
      @andreaegli  5 หลายเดือนก่อน

      Make sure you add all the code, it seems like you forgot to copy/close something

  • @mariopereira6018
    @mariopereira6018 3 หลายเดือนก่อน +1

    Hello Andrea, how are you?
    I have a question.
    Is the PreLoader just an animation that runs and is displayed on the screen while the content (images, text, etc.) is loading so that when the animation ends, everything is already loaded?
    Can I do this for free, or do I need to pay for GSAP?
    Thanks. I look forward to your response.
    Best regards,

    • @andreaegli
      @andreaegli  3 หลายเดือนก่อน +1

      I replied to your email 😉

    • @mariopereira6018
      @mariopereira6018 3 หลายเดือนก่อน

      Hi Andrea !
      Many thanks for your answer 🤩
      I really appreciate it !
      Have a great Sunday

  • @Abdelhakmezough-kt9bs
    @Abdelhakmezough-kt9bs 5 หลายเดือนก่อน +1

    amazing content, but how to make it responsive?

    • @andreaegli
      @andreaegli  5 หลายเดือนก่อน +1

      Thank you! You need to add CSS media queries

  • @paradiz.7952
    @paradiz.7952 11 หลายเดือนก่อน +1

    Hello, have you found the problem with the preloader? with that of gsap dot grows? Because I tried on my site and indeed, both sets do not work. Thanks in advance if you have the solution! :)

    • @andreaegli
      @andreaegli  10 หลายเดือนก่อน

      Not yet, haven't had the time to look into it but i will at some point

  • @aquibjaved4084
    @aquibjaved4084 10 หลายเดือนก่อน +1

    in my Elemental Pro, I have a problem inserting custom code I install code Snippets plugin and the code is really working perfectly I want to get a preloader homepage so how do I do that .......... my elemental is not working so anyone can please tell me how I do this ??

    • @andreaegli
      @andreaegli  10 หลายเดือนก่อน

      Did you follow the steps in the video? If you did, it should work just fine

  • @Graphicayya
    @Graphicayya หลายเดือนก่อน +1

    Thanks for the effort, not working for me, when i apply the code its just blank black site

    • @andreaegli
      @andreaegli  หลายเดือนก่อน

      Have another look, there must be something you missed, it’s working 😉

    • @Graphicayya
      @Graphicayya หลายเดือนก่อน +1

      @@andreaegli i added more effects in your videos, and it have started conflicting with each other, results in a black screen, i reduced some unnecessary gsap code and added, and now its working

    • @andreaegli
      @andreaegli  หลายเดือนก่อน

      @@Graphicayya ahh, that explains it ;) happy you made made it work!!!!

  • @anshultiwari6651
    @anshultiwari6651 6 หลายเดือนก่อน

    Hi Andrea ,
    Big Fan of your content ,keep up the good work,
    this code does not work on mobile or tab as it gives a wierd output.
    i'm not very good with codes, do you have a responsive version of the code.

  • @AronBouwer
    @AronBouwer 3 หลายเดือนก่อน

    Andrea, is it also possible to put an image or svg instead of a piece of text? How can I put that?

  • @AdityaSingh-ni7vn
    @AdityaSingh-ni7vn 2 หลายเดือนก่อน

    Make a video on adding custom preloader with own logo animation

  • @tommasosposito1517
    @tommasosposito1517 7 หลายเดือนก่อน +1

    Hello Andrea, how do I set the preloader to be active only on the opening of the website? I tried looking in the "add condition" but couldn't find it.

    • @andreaegli
      @andreaegli  7 หลายเดือนก่อน +1

      Hey! Where did you add the code? If in Elementor custom code, then look on the right hand side, you will see the publish box, in that box you will find the conditions. Set it to home page.

    • @tommasosposito1517
      @tommasosposito1517 7 หลายเดือนก่อน

      But if I go to other pages of the website and then return to the home, it restarts. Is there a condition that allows me to see it only once when I open the site?@@andreaegli

    • @tommasosposito1517
      @tommasosposito1517 7 หลายเดือนก่อน +1

      @@andreaegli But if I go to other pages of the website and then return to the home, it restarts. Is there a condition that allows me to see it only once when I open the site? thank you

    • @andreaegli
      @andreaegli  7 หลายเดือนก่อน +1

      @@tommasosposito1517 nope, there isn't. it needs additional custom code

  • @zuberalii
    @zuberalii หลายเดือนก่อน +1

    Your Code is good but there is a problem in it which I am facing that I am not able to change the color of its title preloader

    • @andreaegli
      @andreaegli  หลายเดือนก่อน

      I’m afraid I don’t understand what you mean

    • @zuberalii
      @zuberalii หลายเดือนก่อน

      @@andreaegli The code you have given is not working properly in some themes just like astra theme When I am changing the color of the Tilte nothing is changing

    • @zuberalii
      @zuberalii หลายเดือนก่อน

      @@andreaegli And when I am using Hello Elementor theme this code is working perfectly. Preloader TITLE

    • @zuberalii
      @zuberalii หลายเดือนก่อน

      @@andreaegli Thank You Ma'am

  • @draftermyself
    @draftermyself ปีที่แล้ว +2

    70kb only for preloader... Are you serious?

    • @andreaegli
      @andreaegli  ปีที่แล้ว +1

      It is what it is

  • @bennitr.2992
    @bennitr.2992 8 หลายเดือนก่อน +1

    Do you also have the problem that you can scroll the homepage, while the preloader is executed? I couldn't find a solution. Usually overflow: hidden should solve the issue. But it seems that Lenis Smooth Scroll is kind of intervening to the preloader. Do you have any suggestions?

    • @andreaegli
      @andreaegli  8 หลายเดือนก่อน

      Yes, noticed this while working on a project. Here's the adjusted code, I've merged Lenis & GSAP together:
      .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #0c0a0b;
      overflow: hidden;
      z-index: 100;
      }
      .text-container {
      display: flex;
      flex-direction: row;
      gap: 1em;
      overflow: hidden;
      color: white;
      opacity: 0;
      }
      .big-text {
      font-family: 'Playfair Display', sans-serif;
      font-size: 5rem;
      }
      .italic-text {
      font-style: italic;
      }
      .no-scroll {
      overflow: hidden;
      }
      texttext

      // Flag to indicate preloader status
      let isPreloaderActive = true;
      // Initialize Lenis
      const lenis = new Lenis({
      // ... your existing Lenis configuration ...
      });
      // Update the requestAnimationFrame function for Lenis
      function raf(time) {
      if (!isPreloaderActive) {
      lenis.raf(time);
      }
      requestAnimationFrame(raf);
      }
      requestAnimationFrame(raf);
      // GSAP Preloader Animation
      document.body.classList.add('no-scroll');
      const tl = gsap.timeline();
      tl.to(".preloader .text-container", {
      duration: 0,
      opacity: 1,
      ease: "Power3.easeOut"
      })
      .from(".preloader .text-container h2", {
      duration: 1.5,
      delay: 0.2,
      y: 200,
      stagger: 0.4,
      ease: "Power3.easeOut"
      })
      .to(".preloader .text-container h2", {
      duration: 1.2,
      y: 200,
      stagger: 0.2,
      ease: "Power3.easeOut"
      })
      .to(".preloader", {
      duration: 1,
      height: "0vh",
      ease: "Power3.easeOut"
      })
      .to(".preloader", {
      display: "none"
      })
      .eventCallback("onComplete", function() {
      // Remove 'no-scroll' class from body when preloader ends
      document.body.classList.remove('no-scroll');
      isPreloaderActive = false; // Disable preloader flag
      });
      Hope this helps!

  • @ath1870
    @ath1870 10 หลายเดือนก่อน +1

    I love every single video of yours!
    I have a question, from the dennis snellenberg portfolio , the Sequential Text preloader, is it text reveal?
    Thank you!!!!

    • @andreaegli
      @andreaegli  10 หลายเดือนก่อน +1

      Thank you so much! I'm not sure what that is but his preloader seems to be built with GSAP. Most likely each text has a minimal delay. I don't think it would be difficult to achieve..

  • @atulkadyan1303
    @atulkadyan1303 ปีที่แล้ว +1

    hey, can you try to create the following effects which are on the cuberto website?
    1. That magnetic effect upon hovering the menu in the top right corner with cursor change.
    2. When we hover on the carousel cursor changes to drag and we should able to drag it Please make an exact or similar effect to it.
    3. Button hover effect.
    I found the exact channel that was looking for your work is awesome. Thank you

    • @andreaegli
      @andreaegli  ปีที่แล้ว +1

      I’ve seen your previous comment and yes, added the request to my list but it will take some time

  • @kassidyhancey2771
    @kassidyhancey2771 6 หลายเดือนก่อน

    I'd love to know if there's a way to do this but instead with a gif of an animated logo where the text is! Even better, I think it'd be so cool to see a pre-loader of a logo in the center of the screen with a video background, and then at the end of the load screen have the logo shrink and transition to where it sits in the nav bar.

    • @andrestobio4893
      @andrestobio4893 6 หลายเดือนก่อน

      /* Base styles for all devices */
      .preloader {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1000;
      }
      .logo {
      width: 200px; /* Adjust width as needed */
      height: auto; /* Maintain aspect ratio */
      }
      #video-background {
      position: fixed;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: -1;
      }
      /* Hide preloader when content is loaded */
      .preloader.hide {
      display: none;
      }

  • @mybrandzin
    @mybrandzin ปีที่แล้ว +1

    Hello Andrea!
    Comment about cursor video
    I appreciate your excellent tutorials, as always. Please keep up the great work! I have a question: How can I add classes so that when I hover over a video, it displays "play," and when I hover over a contact element, it shows "let's talk"?
    Thank you!

    • @andreaegli
      @andreaegli  ปีที่แล้ว +1

      Hey! I need to test this but can you send me an email, I can't keep track of requests like this...thx!

  • @Webrisernl
    @Webrisernl 10 หลายเดือนก่อน +1

    Had you find a solution for the problem? Thanks for sharing all these great content

    • @andreaegli
      @andreaegli  10 หลายเดือนก่อน

      Not yet, didn't have much time to look into it, I'm afraid...

  • @choonah
    @choonah ปีที่แล้ว +1

    cool tuts! just a question - which theme do you prefer using?

    • @andreaegli
      @andreaegli  ปีที่แล้ว

      Thank you 😊 I only use Hello

  • @kingmam5613
    @kingmam5613 2 หลายเดือนก่อน

    Hey! Andrea, first of all I really love you're contents they are very impressive. I really don't know the issue but I can't change the text color. It's blue but it should be white as the code.

  • @ashome7622
    @ashome7622 7 หลายเดือนก่อน

    When I add multiple GSAP code it's not working; like we are loading page wise

  • @Wandersonliraads
    @Wandersonliraads 5 หลายเดือนก่อน

    If I want to add or change the animation, where would it be?

    • @andreaegli
      @andreaegli  4 หลายเดือนก่อน

      To change the animation, you can modify the properties of each tween. Here are some ways you can customize the animation:
      Duration: Adjust the duration property to change how long each animation takes to complete.
      Delay: Modify the delay property to add a delay before each animation starts.
      Easing: Experiment with different easing functions (ease) to change the acceleration and deceleration of the animation.
      Properties: Change the properties being animated (e.g., opacity, scale, rotation) to create different visual effects.
      Stagger: Adjust the stagger property to animate elements with a staggered delay, creating a sequential effect.
      Seems a bit complicated but it is not, you just need to play around with properties. You can check out the easing docs for GSAP here: gsap.com/docs/v3/Eases/

  • @FilipRupcic-i2w
    @FilipRupcic-i2w 9 หลายเดือนก่อน

    hello andrea, thank you for another amazing tutorial. Do you maybe know how to show this preloader only once on website visit? Is that possible?

  • @alyacabal1428
    @alyacabal1428 8 หลายเดือนก่อน +1

    hi Andrea! this is such a cool video. I do have some questions. how do I edit the code so that the preloader only appears once?

    • @Jebesniper
      @Jebesniper 8 หลายเดือนก่อน

      you can do that under "Edit Conditions"

    • @andreaegli
      @andreaegli  8 หลายเดือนก่อน

      Thank you so much! You can set the condition to singular > front page and it will only show on the home page

  • @turjojunior192
    @turjojunior192 8 หลายเดือนก่อน +1

    can we use image or lottie animation instead of text?

    • @andreaegli
      @andreaegli  8 หลายเดือนก่อน

      Yup, you just need to adjust the code accordingly

  • @atulkadyan1303
    @atulkadyan1303 ปีที่แล้ว +1

    hey, can you also tell me how to animate the logo in this code, if possible please integrate Lottie's animations that would be awesome because there will not be any limitations we will be able to animate all together

    • @andreaegli
      @andreaegli  ปีที่แล้ว

      For that, you would need to change the code extensively.

    • @atulkadyan1303
      @atulkadyan1303 ปีที่แล้ว

      @@andreaegli can you make part for it specifically for lottie animation

  • @danco.studio
    @danco.studio 8 หลายเดือนก่อน +1

    Your content is amazing, keep it up!🤓

    • @andreaegli
      @andreaegli  8 หลายเดือนก่อน

      Thank you!!!

  • @SENKO7040
    @SENKO7040 7 หลายเดือนก่อน

    Ты очень красивая и умная, мне нравятся твои видео, продолжай в том же духе!!!

  • @md.foysalahmed9457
    @md.foysalahmed9457 7 หลายเดือนก่อน

    its my first time i saw your video and guess what my heart push me hardly to subscribe your channel trust me this kind of video very very helpfull for a designer who use cms (drag and drop) page builder to design website.thanks a lot dear💞💕

  • @craftWithNiloy
    @craftWithNiloy ปีที่แล้ว

    Hi @Andrea
    Do you have any idea about remembering the last active tab on page reload?

  • @nicolasveiga8532
    @nicolasveiga8532 ปีที่แล้ว +1

    Love your tutorials! keep up the great work cause they help alot :)

    • @andreaegli
      @andreaegli  ปีที่แล้ว

      Thank you so much, Nicolas! ☺️ will do!

  • @estudiocrow
    @estudiocrow ปีที่แล้ว +1

    Cool tutorial!!! Thanks for share

    • @andreaegli
      @andreaegli  ปีที่แล้ว

      Thanks for watching!

  • @farhatmahi4509
    @farhatmahi4509 ปีที่แล้ว +1

    This channel will have 1M subscribers someday, mark my word!

    • @andreaegli
      @andreaegli  ปีที่แล้ว +1

      Hehe, fingers crossed for that to happen sooner rather than later but channels in this niche hardly ever grow that much but who knows, anything is possible 😎

    • @gigagolemmYT
      @gigagolemmYT หลายเดือนก่อน

      ​@@andreaegli The reason is limited visitors... Not everyone likes to spend time watching website building.

  • @nuamanafzal8530
    @nuamanafzal8530 ปีที่แล้ว +1

    keep doing, u r doing great job
    waitng for more videos on gsap

  • @Art-01
    @Art-01 ปีที่แล้ว +1

    Thank u for sharing🙏🌹

  • @kamessytta
    @kamessytta ปีที่แล้ว +1

    Bravo! 👌👍👏👏👏🥰

  • @Asanetech
    @Asanetech ปีที่แล้ว +1

    Nice one

  • @kayquebritoo
    @kayquebritoo 7 หลายเดือนก่อน

    yes!

  • @SmrutiranjanPrusty
    @SmrutiranjanPrusty ปีที่แล้ว +1

    Skill next level❤❤

  • @teuccio73
    @teuccio73 ปีที่แล้ว +1

    Wow !